:root {
  --ksy-navy: #071f55;
  --ksy-navy-2: #0a2c73;
  --ksy-red: #e30613;
  --ksy-red-dark: #bd0010;
  --ksy-ink: #101828;
  --ksy-text: #3b4658;
  --ksy-muted: #697386;
  --ksy-line: #e4e8ef;
  --ksy-soft: #f5f7fb;
  --ksy-white: #fff;
  --ksy-green: #0b9f65;
  --ksy-shadow: 0 18px 50px rgba(7, 31, 85, .1);
  --ksy-radius: 12px;
  --ksy-container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ksy-text); background: var(--ksy-white); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
h1, h2, h3, h4 { color: var(--ksy-navy); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
p { margin-top: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ksy-container { width: min(var(--ksy-container), calc(100% - 40px)); margin-inline: auto; }
.ksy-narrow { max-width: 900px; }
.ksy-icon { width: 24px; height: 24px; flex: 0 0 auto; }
.ksy-skip-link { position: fixed; z-index: 99999; top: 12px; left: 12px; padding: 10px 14px; color: #fff; background: #000; transform: translateY(-150%); }
.ksy-skip-link:focus { transform: none; }
.ksy-eyebrow { margin: 0 0 10px; color: var(--ksy-red); font-size: 12px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.ksy-text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ksy-red); font-weight: 800; }
.ksy-text-link .ksy-icon { width: 18px; height: 18px; }
.ksy-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-size: 14px; font-weight: 800; line-height: 1.1; text-align: center; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.ksy-button:hover, .ksy-button:focus-visible { transform: translateY(-1px); box-shadow: 0 9px 24px rgba(7,31,85,.15); outline: 0; }
.ksy-button-red { color: #fff; background: var(--ksy-red); border-color: var(--ksy-red); }
.ksy-button-red:hover, .ksy-button-red:focus-visible { color: #fff; background: var(--ksy-red-dark); border-color: var(--ksy-red-dark); }
.ksy-button-navy { color: #fff; background: var(--ksy-navy); border-color: var(--ksy-navy); }
.ksy-button-navy:hover, .ksy-button-navy:focus-visible { color: #fff; background: var(--ksy-navy-2); }
.ksy-button-outline { color: var(--ksy-red); background: #fff; border-color: var(--ksy-red); }
.ksy-section { padding: 70px 0; }
.ksy-section-heading { max-width: 820px; margin-bottom: 30px; }
.ksy-section-heading h2 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 42px); }
.ksy-section-heading p:last-child { color: var(--ksy-muted); }
.ksy-heading-row { display: flex; max-width: none; align-items: flex-end; justify-content: space-between; gap: 30px; }
.ksy-heading-row > div { max-width: 880px; }

/* Header */
.ksy-header { position: sticky; z-index: 1000; top: 0; border-bottom: 1px solid var(--ksy-line); background: rgba(255,255,255,.98); box-shadow: 0 3px 14px rgba(7,31,85,.04); }
.admin-bar .ksy-header { top: 32px; }
.ksy-topbar { color: #fff; background: var(--ksy-navy); font-size: 12px; }
.ksy-topbar-inner { display: flex; min-height: 31px; align-items: center; justify-content: space-between; gap: 20px; }
.ksy-topbar-contact, .ksy-topbar-meta { display: flex; align-items: center; gap: 24px; }
.ksy-topbar a { display: inline-flex; align-items: center; gap: 6px; }
.ksy-topbar .ksy-icon { width: 14px; height: 14px; }
.ksy-mainbar { background: #fff; }
.ksy-mainbar-inner { display: grid; min-height: 82px; grid-template-columns: 132px 172px minmax(260px, 1fr) auto auto; align-items: center; gap: 14px; }
.ksy-logo { display: flex; align-items: center; }
.ksy-logo img { display: block; width: 126px; height: auto; max-height: 60px; object-fit: contain; }
.ksy-mobile-toggle { display: none; width: 43px; height: 43px; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; }
.ksy-category-trigger { position: relative; }
.ksy-category-trigger > summary { display: flex; min-height: 45px; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 7px; color: #fff; background: var(--ksy-navy); cursor: pointer; font-size: 13px; font-weight: 800; list-style: none; }
.ksy-category-trigger > summary::-webkit-details-marker { display: none; }
.ksy-category-trigger > summary::after { content: "⌄"; margin-left: 10px; }
.ksy-mega-menu { position: absolute; z-index: 1200; top: calc(100% + 18px); left: -145px; display: grid; visibility: hidden; width: min(1080px, calc(100vw - 48px)); min-height: 470px; grid-template-columns: 285px 1fr; overflow: hidden; border: 1px solid var(--ksy-line); border-radius: 0 0 10px 10px; opacity: 0; background: #fff; box-shadow: 0 24px 60px rgba(7,31,85,.22); transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.ksy-category-trigger[open] .ksy-mega-menu { visibility: visible; opacity: 1; transform: none; }
.ksy-mega-sidebar { padding: 12px; border-right: 1px solid var(--ksy-line); background: #fbfcfe; }
.ksy-mega-sidebar a { display: flex; min-height: 34px; align-items: center; justify-content: space-between; padding: 5px 10px; border-left: 3px solid transparent; color: var(--ksy-ink); font-size: 12px; font-weight: 650; }
.ksy-mega-sidebar a:hover { color: var(--ksy-red); border-left-color: var(--ksy-red); background: #fff; }
.ksy-mega-sidebar .ksy-mega-services { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--ksy-red); color: var(--ksy-navy); font-weight: 850; }
.ksy-mega-content { padding: 28px 34px; }
.ksy-mega-content h2 { margin: 0 0 24px; font-size: 26px; }
.ksy-mega-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; margin-bottom: 32px; }
.ksy-mega-columns div { min-width: 0; }
.ksy-mega-columns strong, .ksy-mega-columns span { display: block; }
.ksy-mega-columns strong { color: var(--ksy-navy); font-size: 13px; text-transform: uppercase; }
.ksy-mega-columns span { margin-top: 4px; color: var(--ksy-muted); font-size: 12px; }
.ksy-search { display: flex; min-width: 0; overflow: hidden; border: 1px solid #cfd6e2; border-radius: 7px; background: #fff; }
.ksy-search input { min-width: 0; width: 100%; height: 45px; padding: 0 15px; border: 0; outline: 0; color: var(--ksy-ink); }
.ksy-search button { display: grid; width: 54px; flex: 0 0 54px; place-items: center; border: 0; color: #fff; background: var(--ksy-red); cursor: pointer; }
.ksy-actions { display: flex; align-items: stretch; gap: 7px; }
.ksy-actions > a, .ksy-actions > button { position: relative; display: flex; min-width: 48px; flex-direction: column; align-items: center; justify-content: center; padding: 3px; border: 0; color: var(--ksy-ink); background: transparent; cursor: pointer; font-size: 10px; }
.ksy-actions .ksy-icon { width: 22px; height: 22px; margin-bottom: 2px; }
.ksy-actions b { position: absolute; top: -4px; right: 0; display: grid; min-width: 17px; height: 17px; place-items: center; padding: 0 4px; border-radius: 20px; color: #fff; background: var(--ksy-red); font-size: 10px; }
.ksy-header-quote { min-width: 142px; padding-inline: 14px; }
.ksy-primary-nav { border-top: 1px solid #eff1f5; }
.ksy-menu { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 18px; margin: 0; padding: 0; list-style: none; }
.ksy-menu li { position: relative; }
.ksy-menu a { display: flex; min-height: 42px; align-items: center; color: var(--ksy-ink); font-size: 12px; font-weight: 750; }
.ksy-menu a:hover, .ksy-menu .current-menu-item > a { color: var(--ksy-red); }
.ksy-menu .sub-menu { position: absolute; top: 100%; left: 0; display: none; min-width: 230px; margin: 0; padding: 10px; border: 1px solid var(--ksy-line); border-radius: 0 0 8px 8px; list-style: none; background: #fff; box-shadow: var(--ksy-shadow); }
.ksy-menu li:hover > .sub-menu, .ksy-menu li:focus-within > .sub-menu { display: block; }
.ksy-favorites-drawer { position: fixed; z-index: 3000; top: 0; right: 0; width: min(420px, 92vw); height: 100dvh; padding: 30px; visibility: hidden; opacity: 0; background: #fff; box-shadow: -20px 0 60px rgba(7,31,85,.25); transform: translateX(105%); transition: .24s ease; }
.ksy-favorites-drawer.is-open { visibility: visible; opacity: 1; transform: none; }
.ksy-favorites-drawer h2 { margin-top: 20px; }
.ksy-favorite-close { position: absolute; top: 13px; right: 16px; border: 0; background: none; cursor: pointer; font-size: 30px; }
.ksy-favorite-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ksy-line); }
.ksy-favorite-item a { color: var(--ksy-navy); font-weight: 750; }
.ksy-favorite-item button { border: 0; color: var(--ksy-red); background: none; cursor: pointer; }

/* Hero */
.ksy-hero { padding: 24px 0 0; overflow: hidden; background: #fff; }
.ksy-hero-grid { display: grid; min-height: 420px; grid-template-columns: 42% 58%; align-items: stretch; border: 1px solid var(--ksy-line); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 10px 36px rgba(7,31,85,.08); }
.ksy-hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(30px, 5vw, 72px); }
.ksy-hero-copy h1 { max-width: 580px; margin: 0 0 18px; font-size: clamp(34px, 4vw, 58px); line-height: 1.04; }
.ksy-hero-lead { max-width: 530px; margin-bottom: 28px; color: var(--ksy-muted); font-size: 17px; }
.ksy-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ksy-hero-visual { position: relative; min-height: 420px; overflow: hidden; background: var(--ksy-navy); }
.ksy-hero-visual > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.ksy-hero-promo { position: absolute; right: 28px; bottom: 26px; display: flex; width: 180px; min-height: 128px; flex-direction: column; justify-content: center; padding: 20px; color: #fff; background: var(--ksy-red); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.ksy-hero-promo strong, .ksy-hero-promo span, .ksy-hero-promo u { display: block; }
.ksy-hero-promo strong { font-size: 18px; line-height: 1.05; }
.ksy-hero-promo span { margin: 5px 0 12px; font-size: 13px; }
.ksy-hero-promo u { font-size: 12px; font-weight: 750; }
.ksy-benefits { border-bottom: 1px solid var(--ksy-line); background: #fff; }
.ksy-benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ksy-benefit-grid > div { display: flex; min-height: 86px; align-items: center; justify-content: center; gap: 14px; padding: 16px; border-right: 1px solid var(--ksy-line); color: var(--ksy-navy); }
.ksy-benefit-grid > div:first-child { border-left: 1px solid var(--ksy-line); }
.ksy-benefit-grid p, .ksy-benefit-grid strong, .ksy-benefit-grid span { display: block; margin: 0; }
.ksy-benefit-grid strong { font-size: 13px; }
.ksy-benefit-grid span { color: var(--ksy-muted); font-size: 11px; }
.ksy-benefit-grid .ksy-icon { width: 32px; height: 32px; }

/* Categories */
.ksy-categories-section { background: #fff; }
.ksy-category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ksy-category-card { min-width: 0; border: 1px solid var(--ksy-line); border-radius: 6px; overflow: hidden; background: #fff; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.ksy-category-card:hover { z-index: 1; border-color: rgba(227,6,19,.42); box-shadow: 0 12px 28px rgba(7,31,85,.11); transform: translateY(-3px); }
.ksy-category-card a { display: block; padding: 13px; }
.ksy-category-media { display: grid; height: 110px; place-items: center; overflow: hidden; margin-bottom: 10px; background: linear-gradient(145deg, #fff, #f3f5f8); }
.ksy-category-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ksy-category-placeholder { display: grid; width: 72px; height: 72px; place-items: center; border: 3px solid #dce2eb; border-radius: 50%; color: #b1bac7; font-weight: 900; }
.ksy-category-card span { color: var(--ksy-red); font-size: 9px; font-weight: 850; }
.ksy-category-card h3 { min-height: 34px; margin: 2px 0 5px; font-size: 13px; line-height: 1.25; }
.ksy-category-card small { color: var(--ksy-red); font-size: 9px; font-weight: 750; }

/* Services and credibility */
.ksy-services-section { background: var(--ksy-soft); }
.ksy-services-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, .9fr); align-items: stretch; gap: 36px; }
.ksy-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ksy-service-tile { position: relative; min-height: 210px; overflow: hidden; border-radius: 7px; background: var(--ksy-navy); }
.ksy-service-tile::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(3,15,45,.92)); }
.ksy-service-tile img { display: block; width: 100%; height: 100%; min-height: 210px; object-fit: cover; transition: transform .32s ease; }
.ksy-service-tile:hover img { transform: scale(1.035); }
.ksy-service-tile > span { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 24px; color: #fff; }
.ksy-service-tile strong, .ksy-service-tile small { display: block; }
.ksy-service-tile strong { font-size: 17px; line-height: 1.25; }
.ksy-service-tile small { margin-top: 5px; color: rgba(255,255,255,.78); }
.ksy-services-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 32px 10px; }
.ksy-services-copy h2 { margin: 0 0 14px; font-size: clamp(34px, 4vw, 50px); }
.ksy-services-copy p:not(.ksy-eyebrow) { margin-bottom: 28px; color: var(--ksy-muted); font-size: 17px; }
.ksy-expertise-card { display: grid; grid-template-columns: 46% 54%; overflow: hidden; border: 1px solid #bfc9da; border-radius: 8px; background: #f3f8ff; }
.ksy-expertise-image { min-height: 390px; }
.ksy-expertise-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 35% center; }
.ksy-expertise-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(32px, 5vw, 70px); }
.ksy-expertise-copy h2 { margin: 0 0 14px; font-size: clamp(27px, 3vw, 42px); }
.ksy-expertise-copy ul { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 7px 0 28px; padding: 0; list-style: none; }
.ksy-expertise-copy li { display: flex; align-items: center; gap: 7px; color: var(--ksy-navy); font-size: 13px; font-weight: 750; }
.ksy-expertise-copy li .ksy-icon { width: 20px; height: 20px; color: var(--ksy-red); }

/* Products */
.ksy-products-section { background: #fff; }
.ksy-product-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; }
.ksy-product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--ksy-line); border-radius: 7px; background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.ksy-product-card:hover { box-shadow: 0 14px 32px rgba(7,31,85,.1); transform: translateY(-3px); }
.ksy-product-media { position: relative; display: grid; aspect-ratio: 1; place-items: center; overflow: hidden; background: #fff; }
.ksy-product-media > a { width: 100%; height: 100%; }
.ksy-product-media img { display: block; width: 100%; height: 100%; padding: 10px; object-fit: contain; }
.ksy-sale-badge { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 4px 7px; border-radius: 3px; color: #fff; background: var(--ksy-red); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.ksy-favorite-button { position: absolute; z-index: 3; top: 8px; right: 8px; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--ksy-line); border-radius: 50%; background: #fff; cursor: pointer; }
.ksy-favorite-button .ksy-icon { width: 16px; height: 16px; }
.ksy-favorite-button.is-favorite { color: #fff; background: var(--ksy-red); border-color: var(--ksy-red); }
.ksy-product-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 13px; }
.ksy-product-category { color: var(--ksy-red); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.ksy-product-body h3 { width: 100%; min-height: 39px; margin: 5px 0 8px; overflow: hidden; font-size: 12px; line-height: 1.35; }
.ksy-product-price { margin: auto 0 12px; color: var(--ksy-navy); font-size: 13px; font-weight: 850; }
.ksy-product-price del { color: var(--ksy-muted); font-weight: 500; }
.ksy-product-price ins { color: var(--ksy-red); text-decoration: none; }
.ksy-product-cta { width: 100%; min-height: 34px; padding: 8px; font-size: 10px; }
.ksy-empty-state { grid-column: 1 / -1; padding: 60px 30px; border: 1px dashed #bbc5d4; border-radius: 10px; text-align: center; background: var(--ksy-soft); }
.ksy-empty-state h2, .ksy-empty-state h3 { margin-top: 0; }
.ksy-brands-section { padding-top: 20px; background: #fff; }
.ksy-brand-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ksy-brand-row a, .ksy-brand-row span { display: grid; min-height: 78px; place-items: center; padding: 14px; border: 1px solid var(--ksy-line); border-radius: 6px; color: var(--ksy-navy); background: #fff; font-weight: 900; }
.ksy-finance-section { padding-top: 20px; }
.ksy-finance-card { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; overflow: hidden; padding: clamp(30px, 5vw, 58px); border: 1px solid #b8c8e0; border-radius: 8px; background: linear-gradient(110deg, #eef6ff, #fff 55%, #e9f3ff); }
.ksy-finance-card::before, .ksy-finance-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(23,91,170,.08); }
.ksy-finance-card::before { top: -130px; left: -80px; }
.ksy-finance-card::after { right: -100px; bottom: -150px; }
.ksy-finance-card > * { position: relative; z-index: 1; }
.ksy-finance-card h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 40px); }
.ksy-finance-card p:last-child { max-width: 760px; margin-bottom: 0; }
.ksy-finance-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Content and forms */
.ksy-content-main { min-height: 55vh; padding: 30px 0 80px; }
.ksy-breadcrumbs { margin-bottom: 30px; color: var(--ksy-muted); font-size: 12px; }
.ksy-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ksy-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 7px; color: #aab2c0; }
.ksy-breadcrumbs a:hover { color: var(--ksy-red); }
.ksy-page-header, .ksy-article-header { max-width: 950px; margin: 20px 0 46px; }
.ksy-page-header h1, .ksy-article-header h1 { margin: 0 0 14px; font-size: clamp(36px, 5vw, 66px); }
.ksy-article-intro { color: var(--ksy-muted); font-size: 20px; }
.ksy-featured-image { overflow: hidden; margin: 0 0 45px; border-radius: 12px; }
.ksy-featured-image img { display: block; width: 100%; max-height: 580px; object-fit: cover; }
.ksy-entry-content { color: var(--ksy-text); }
.ksy-entry-content > * { max-width: 900px; }
.ksy-entry-content > .alignwide { max-width: 1160px; }
.ksy-entry-content > .alignfull { max-width: none; margin-right: calc(50% - 50vw); margin-left: calc(50% - 50vw); }
.ksy-entry-content h2 { margin: 50px 0 16px; font-size: clamp(27px, 3.2vw, 42px); }
.ksy-entry-content h3 { margin: 36px 0 12px; font-size: 25px; }
.ksy-entry-content p, .ksy-entry-content li { font-size: 17px; line-height: 1.75; }
.ksy-entry-content a { color: var(--ksy-red-dark); text-decoration: underline; text-underline-offset: 3px; }
.ksy-entry-content img { border-radius: 8px; }
.ksy-contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; margin-top: 55px; padding: clamp(28px,5vw,60px); border-radius: 12px; background: var(--ksy-soft); }
.ksy-contact-layout h2 { margin: 0 0 12px; font-size: 36px; }
.ksy-contact-form { padding: 26px; border: 1px solid var(--ksy-line); border-radius: 10px; background: #fff; }
.ksy-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ksy-contact-form label { display: grid; gap: 7px; color: var(--ksy-navy); font-size: 13px; font-weight: 750; }
.ksy-contact-form input, .ksy-contact-form textarea, .ksy-inline-search input { width: 100%; border: 1px solid #cdd5e0; border-radius: 6px; color: var(--ksy-ink); background: #fff; outline: 0; }
.ksy-contact-form input { height: 46px; padding: 0 12px; }
.ksy-contact-form textarea { padding: 12px; resize: vertical; }
.ksy-contact-form input:focus, .ksy-contact-form textarea:focus, .ksy-inline-search input:focus { border-color: var(--ksy-navy-2); box-shadow: 0 0 0 3px rgba(10,44,115,.1); }
.ksy-form-wide { grid-column: 1 / -1; }
.ksy-consent { display: flex !important; grid-template-columns: 18px 1fr; align-items: flex-start; margin: 17px 0; color: var(--ksy-text) !important; font-weight: 500 !important; }
.ksy-consent input { width: 17px; height: 17px; margin: 2px 0 0; }
.ksy-honeypot { position: absolute !important; left: -9999px; }
.ksy-form-notice { padding: 12px 16px; border-radius: 6px; }
.ksy-form-success { color: #07583a; background: #e5f8ef; }
.ksy-form-error { color: #8a1320; background: #ffeaed; }
.ksy-inline-search { display: flex; max-width: 620px; gap: 8px; margin: 20px auto; }
.ksy-inline-search label { flex: 1; }
.ksy-inline-search input { height: 46px; padding: 0 13px; }
.ksy-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ksy-post-card { overflow: hidden; border: 1px solid var(--ksy-line); border-radius: 9px; background: #fff; }
.ksy-post-image { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--ksy-soft); }
.ksy-post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ksy-post-card:hover .ksy-post-image img { transform: scale(1.03); }
.ksy-post-card > div { padding: 22px; }
.ksy-post-card time { color: var(--ksy-red); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.ksy-post-card h2 { margin: 7px 0 10px; font-size: 22px; }
.ksy-search-card { padding: 24px; border: 1px solid var(--ksy-line); border-radius: 8px; }
.ksy-404 { margin: 70px 0; }

/* WooCommerce */
.ksy-woocommerce-content .woocommerce-breadcrumb { display: none; }
.woocommerce .woocommerce-products-header__title, .woocommerce div.product .product_title { color: var(--ksy-navy); font-size: clamp(34px,4vw,54px); }
.woocommerce .woocommerce-result-count { color: var(--ksy-muted); }
.woocommerce .woocommerce-ordering select, .ksy-catalog-filter select { min-height: 42px; padding: 8px 34px 8px 11px; border: 1px solid var(--ksy-line); border-radius: 6px; background: #fff; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 35px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 14px; border: 1px solid var(--ksy-line); border-radius: 8px; overflow: hidden; background: #fff; }
.woocommerce ul.products li.product a img { aspect-ratio: 1; object-fit: contain; margin: 0 0 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 45px; color: var(--ksy-navy); font-size: 14px; line-height: 1.35; }
.woocommerce ul.products li.product .price { color: var(--ksy-navy); font-weight: 850; }
.woocommerce ul.products li.product .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit { min-height: 42px; border-radius: 6px; color: #fff; background: var(--ksy-red); font-weight: 800; }
.woocommerce ul.products li.product .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce input.button:hover { color: #fff; background: var(--ksy-red-dark); }
.woocommerce span.onsale { min-width: 0; min-height: 0; padding: 6px 9px; border-radius: 4px; line-height: 1; background: var(--ksy-red); }
.woocommerce div.product { padding-top: 20px; }
.woocommerce div.product div.images img { border: 1px solid var(--ksy-line); border-radius: 8px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ksy-red); font-size: 25px; font-weight: 850; }
.woocommerce div.product form.cart { display: flex; gap: 10px; }
.woocommerce .quantity .qty { min-height: 46px; border: 1px solid var(--ksy-line); border-radius: 5px; }
.woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 40px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-color: var(--ksy-line); background: var(--ksy-soft); }
.woocommerce table.shop_table { border-color: var(--ksy-line); border-radius: 8px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .select2-container .select2-selection--single { min-height: 46px; padding: 10px 12px; border: 1px solid #cdd5e0; border-radius: 6px; }
.select2-container .select2-selection--single .select2-selection__rendered { padding: 6px 0; }
.woocommerce-checkout #payment { border: 1px solid var(--ksy-line); background: var(--ksy-soft); }
.woocommerce-checkout #place_order { position: relative; z-index: 4; display: block; width: 100%; min-height: 52px; margin-top: 16px; font-size: 16px; }
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 12px; border-bottom: 1px solid var(--ksy-line); color: var(--ksy-navy); font-weight: 750; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--ksy-navy); background: var(--ksy-soft); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ksy-navy); }

/* Footer */
.ksy-footer { margin-top: 20px; color: #fff; background: var(--ksy-navy); }
.ksy-footer-trust { display: grid; grid-template-columns: repeat(4, 1fr); color: var(--ksy-navy); background: #fff; }
.ksy-footer-trust > div { display: flex; min-height: 92px; align-items: center; justify-content: center; gap: 13px; padding: 16px; border-right: 1px solid var(--ksy-line); }
.ksy-footer-trust > div:first-child { border-left: 1px solid var(--ksy-line); }
.ksy-footer-trust strong, .ksy-footer-trust span { display: block; }
.ksy-footer-trust strong { font-size: 13px; }
.ksy-footer-trust span span { color: var(--ksy-muted); font-size: 11px; }
.ksy-footer-main { padding: 55px 0; background: var(--ksy-navy); }
.ksy-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 50px; }
.ksy-footer-brand img { width: 155px; height: auto; padding: 8px; border-radius: 5px; background: #fff; }
.ksy-footer-brand p { max-width: 390px; margin-top: 20px; color: rgba(255,255,255,.72); }
.ksy-footer h2 { margin: 0 0 18px; color: #fff; font-size: 16px; }
.ksy-footer ul { margin: 0; padding: 0; list-style: none; }
.ksy-footer li { margin: 8px 0; color: rgba(255,255,255,.7); font-size: 13px; }
.ksy-footer a:hover { color: #fff; text-decoration: underline; }
.ksy-footer-bottom { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.6); font-size: 11px; }
.ksy-footer-bottom .ksy-container { display: flex; justify-content: space-between; gap: 20px; }
.ksy-whatsapp { position: fixed; z-index: 1500; right: 20px; bottom: 20px; display: grid; width: 54px; height: 54px; place-items: center; border: 3px solid #fff; border-radius: 50%; color: #fff; background: #22b573; box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.ksy-whatsapp .ksy-icon { width: 28px; height: 28px; }

@media (max-width: 1180px) {
  .ksy-mainbar-inner { grid-template-columns: 120px minmax(240px,1fr) auto auto; }
  .ksy-category-trigger { display: none; }
  .ksy-product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .ksy-category-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 960px) {
  .admin-bar .ksy-header { top: 32px; }
  .ksy-topbar-meta { display: none; }
  .ksy-mainbar-inner { grid-template-columns: 44px 110px minmax(200px,1fr) auto; min-height: 70px; }
  .ksy-mobile-toggle { display: flex; }
  .ksy-header-quote { display: none; }
  .ksy-actions > a span, .ksy-actions > button span { display: none; }
  .ksy-actions > a, .ksy-actions > button { min-width: 36px; }
  .ksy-primary-nav { position: fixed; z-index: 1300; top: 0; left: 0; width: min(360px,88vw); height: 100dvh; padding: 80px 24px 30px; visibility: hidden; opacity: 0; background: #fff; box-shadow: 20px 0 60px rgba(7,31,85,.25); transform: translateX(-105%); transition: .25s ease; }
  .ksy-primary-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .ksy-primary-nav .ksy-container { width: 100%; }
  .ksy-menu { display: block; }
  .ksy-menu a { min-height: 47px; border-bottom: 1px solid var(--ksy-line); font-size: 15px; }
  .ksy-menu .sub-menu { position: static; display: block; border: 0; box-shadow: none; }
  .ksy-hero-grid { grid-template-columns: 1fr; }
  .ksy-hero-copy { order: 2; }
  .ksy-hero-visual { min-height: 420px; }
  .ksy-benefit-grid { grid-template-columns: repeat(2,1fr); }
  .ksy-category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .ksy-services-layout, .ksy-expertise-card { grid-template-columns: 1fr; }
  .ksy-services-copy { order: -1; }
  .ksy-expertise-image { min-height: 430px; }
  .ksy-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .ksy-contact-layout { grid-template-columns: 1fr; }
  .ksy-post-grid { grid-template-columns: repeat(2,1fr); }
  .ksy-finance-card { grid-template-columns: 1fr; }
  .ksy-finance-actions { justify-content: flex-start; }
  .ksy-footer-grid { grid-template-columns: repeat(2,1fr); }
  .ksy-footer-trust { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 782px) {
  .admin-bar .ksy-header { top: 46px; }
}

@media (max-width: 680px) {
  .ksy-container { width: min(100% - 28px, var(--ksy-container)); }
  .ksy-section { padding: 50px 0; }
  .ksy-topbar-contact { width: 100%; justify-content: space-between; gap: 10px; }
  .ksy-topbar-contact a { font-size: 10px; }
  .ksy-mainbar-inner { grid-template-columns: 40px 86px 1fr auto; gap: 7px; min-height: 63px; }
  .ksy-logo img { width: 84px; }
  .ksy-search { grid-column: 1 / -1; grid-row: 2; margin-bottom: 10px; }
  .ksy-search input { height: 41px; }
  .ksy-search button { width: 48px; flex-basis: 48px; }
  .ksy-actions > a:nth-child(1), .ksy-actions > button { display: none; }
  .ksy-hero { padding-top: 14px; }
  .ksy-hero-grid { width: calc(100% - 28px); min-height: 0; }
  .ksy-hero-visual { min-height: 275px; }
  .ksy-hero-visual > img { object-position: 64% center; }
  .ksy-hero-promo { right: 13px; bottom: 13px; width: 135px; min-height: 98px; padding: 13px; }
  .ksy-hero-promo strong { font-size: 13px; }
  .ksy-hero-copy { padding: 30px 22px 35px; }
  .ksy-hero-copy h1 { font-size: 34px; }
  .ksy-hero-lead { font-size: 15px; }
  .ksy-hero-actions { width: 100%; }
  .ksy-hero-actions .ksy-button { flex: 1; padding-inline: 10px; }
  .ksy-benefit-grid > div { min-height: 74px; justify-content: flex-start; padding: 12px; }
  .ksy-benefit-grid .ksy-icon { width: 26px; height: 26px; }
  .ksy-heading-row { display: block; }
  .ksy-heading-row > a { margin-top: 12px; }
  .ksy-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ksy-category-media { height: 92px; }
  .ksy-service-grid { grid-template-columns: 1fr; }
  .ksy-service-tile, .ksy-service-tile img { min-height: 190px; }
  .ksy-expertise-image { min-height: 300px; }
  .ksy-expertise-copy { padding: 28px 22px 34px; }
  .ksy-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .ksy-product-body { padding: 10px; }
  .ksy-brand-row { grid-template-columns: repeat(2,1fr); }
  .ksy-finance-card { padding: 30px 22px; }
  .ksy-finance-actions { display: grid; width: 100%; }
  .ksy-page-header h1, .ksy-article-header h1 { font-size: 38px; }
  .ksy-entry-content p, .ksy-entry-content li { font-size: 16px; }
  .ksy-form-grid { grid-template-columns: 1fr; }
  .ksy-form-wide { grid-column: auto; }
  .ksy-contact-form { padding: 18px; }
  .ksy-post-grid { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .woocommerce ul.products li.product { padding: 10px; }
  .woocommerce div.product form.cart { flex-wrap: wrap; }
  .ksy-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .ksy-footer-trust > div { justify-content: flex-start; }
  .ksy-footer-bottom .ksy-container { display: block; }
  .ksy-footer-bottom span { display: block; margin: 4px 0; }
  .ksy-whatsapp { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
