:root {
  --red: #e50914;
  --red-dark: #bd0710;
  --ink: #16181c;
  --muted: #667085;
  --line: #e2e5e9;
  --soft: #f5f6f8;
  --white: #fff;
  --green: #087a45;
  --amber: #9a5c00;
  --blue: #2457a6;
  --shadow: 0 14px 36px rgba(16, 24, 40, .08);
  --max: 1460px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.promo {
  padding: 9px 16px;
  color: #fff;
  background: linear-gradient(90deg, #d90812, #f01620);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(16, 24, 40, .05);
}
.header-row {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: 224px; height: 72px; object-fit: contain; object-position: left center; display: block; }
.header-actions { display: flex; align-items: center; gap: 30px; }
.header-actions a { display: grid; gap: 2px; }
.header-actions span { color: var(--muted); font-size: 12px; }
.header-actions strong { font-size: 14px; }
.header-actions a:last-child strong { color: var(--red); }
.site-nav { border-top: 1px solid #f0f1f3; }
.nav-row { min-height: 47px; display: flex; align-items: center; gap: 28px; overflow-x: auto; font-size: 14px; font-weight: 800; scrollbar-width: none; }
.nav-row::-webkit-scrollbar { display: none; }
.nav-row a { white-space: nowrap; padding-block: 15px; border-bottom: 3px solid transparent; }
.nav-row a:hover, .nav-row a.active { color: var(--red); border-bottom-color: var(--red); }

.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding-block: 17px; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover { color: var(--red); }
.hero {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto 30px;
  min-height: 535px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #080a0d;
  border-radius: 18px;
  color: #fff;
  box-shadow: var(--shadow);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}
.hero-visual {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 7, 10, .72) 0%, rgba(4, 7, 10, .52) 32%, rgba(4, 7, 10, .18) 55%, rgba(4, 7, 10, .04) 78%),
    linear-gradient(0deg, rgba(4, 7, 10, .34), transparent 34%);
}
.eyebrow { color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .11em; }
.hero-copy { position: relative; z-index: 2; width: 57%; padding: 40px 0 38px 44px; }
.kn-hero-logo { width: 174px; height: 72px; margin: 0 0 18px; display: block; object-fit: contain; object-position: left center; }
.hero h1 { max-width: 640px; margin: 9px 0 15px; font-size: clamp(44px, 4.2vw, 64px); line-height: .94; letter-spacing: -.045em; text-transform: uppercase; }
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 strong { margin-top: 5px; color: #ef101a; }
.hero-copy > p:not(.enthusiast-signature) { max-width: 590px; margin: 0; color: #d5d8dd; font-size: 17px; line-height: 1.48; }
.benefit-strip { max-width: 520px; margin-top: 27px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefit-item { min-width: 0; padding: 0 14px; display: grid; justify-items: center; gap: 7px; border-right: 1px solid rgba(255, 255, 255, .2); text-align: center; }
.benefit-item:first-child { padding-left: 0; }
.benefit-item:last-child { padding-right: 0; border-right: 0; }
.benefit-item svg { width: 29px; height: 29px; fill: none; stroke: #ef101a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.benefit-item span { color: #f4f5f6; font-size: 10px; font-weight: 900; line-height: 1.18; letter-spacing: .045em; text-transform: uppercase; }
.enthusiast-signature { margin: 18px 0 0 !important; color: rgba(255, 255, 255, .53) !important; font-family: "Segoe Script", "Brush Script MT", cursive; font-size: 21px !important; font-weight: 700; line-height: 1.02 !important; transform: rotate(-4deg); transform-origin: left center; text-transform: uppercase; }
.catalogue-search { position: absolute; z-index: 3; right: 34px; bottom: 62px; width: min(48%, 640px); padding: 25px; color: var(--ink); background: rgba(255, 255, 255, .97); border: 1px solid rgba(255, 255, 255, .75); border-radius: 16px; box-shadow: 0 18px 42px rgba(0, 0, 0, .42), 9px 9px 0 rgba(229, 9, 20, .16); backdrop-filter: blur(5px); }
.catalogue-search label { display: block; margin-bottom: 9px; font-weight: 900; }
.search-control { display: grid; grid-template-columns: 1fr auto; border: 1px solid #cfd4da; border-radius: 9px; overflow: hidden; }
.search-control:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(229, 9, 20, .14); }
.search-control input { min-width: 0; height: 50px; padding: 0 15px; border: 0; outline: 0; }
.search-control button { min-width: 112px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: #fff; background: var(--red); border: 0; font-weight: 900; }
.search-control button:hover { background: var(--red-dark); }
.search-control button:focus-visible { outline: 3px solid #fff; outline-offset: -5px; box-shadow: 0 0 0 3px var(--red); }
.catalogue-search p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.hero-corner { position: absolute; z-index: 3; right: 35px; bottom: 18px; margin: 0; display: grid; color: rgba(255, 255, 255, .62); font-size: 9px; letter-spacing: .16em; text-align: right; text-transform: uppercase; }
.hero-corner::before { content: ""; width: 42px; height: 2px; margin: 0 0 6px auto; background: var(--red); }
.hero-corner strong { color: rgba(255, 255, 255, .85); font-size: 10px; }

.catalogue { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 26px; padding: 4px 0 60px; }
.filters {
  align-self: start;
  position: sticky;
  top: 164px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(16, 24, 40, .05);
}
.filter-heading { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.filter-heading h2 { margin: 4px 0 0; font-size: 24px; }
.filter-close { display: none; width: 38px; height: 38px; border: 0; background: transparent; font-size: 30px; line-height: 1; }
.clear-filters { margin: 16px 0 2px; padding: 0; color: var(--red); background: transparent; border: 0; font-size: 13px; font-weight: 800; }
.filter-group { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.filter-group h3 { margin: 0 0 12px; font-size: 15px; }
.filter-search { width: 100%; height: 40px; padding: 0 11px; border: 1px solid #d4d8de; border-radius: 7px; outline: 0; }
.filter-search:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(229, 9, 20, .1); }
.checkbox-list { max-height: 305px; margin-top: 9px; overflow: auto; scrollbar-width: thin; }
.check { display: flex; align-items: center; gap: 9px; margin: 9px 0; color: #3f4650; font-size: 13px; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 0; accent-color: var(--red); }
.check .count { margin-left: auto; color: #98a0ab; font-size: 11px; }
.apply-filters { display: none; }
.mobile-filter-button { display: none; }

.results { min-width: 0; }
.results-heading { min-height: 67px; display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.results-heading h2 { margin: 4px 0 3px; font-size: 30px; letter-spacing: -.02em; }
.results-heading p { margin: 0; color: var(--muted); }
.sort-label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 800; }
.sort-label select { min-width: 180px; height: 42px; padding: 0 34px 0 11px; color: var(--ink); background: #fff; border: 1px solid #d3d8df; border-radius: 7px; }
.active-search { margin: 0 0 14px; padding: 11px 13px; color: #5b3032; background: #fff4f4; border: 1px solid #ffd5d7; border-radius: 8px; font-size: 13px; }
.active-search button { margin-left: 8px; padding: 0; color: var(--red); background: transparent; border: 0; font-weight: 800; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #dde1e6; border-radius: 13px; box-shadow: 0 9px 25px rgba(16, 24, 40, .055); transition: transform .18s, box-shadow .18s, border-color .18s; }
.product-card:hover { transform: translateY(-2px); border-color: #cfd3d9; box-shadow: 0 14px 34px rgba(16, 24, 40, .09); }
.product-media { position: relative; box-sizing: border-box; flex: 0 0 220px; height: 220px; min-height: 220px; max-height: 220px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 22px; background: #f7f8f9; border-bottom: 1px solid #e1e4e8; }
.product-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 170px; object-fit: contain; object-position: center; flex: 0 0 auto; }
.image-pending { width: 100%; height: 100%; display: grid; place-items: center; padding: 20px; color: #7c838d; background: #f7f8f9; border: 1px dashed #c9ced4; border-radius: 9px; text-align: center; }
.image-pending strong { display: block; color: #4d545d; font-size: 13px; }
.image-pending span { display: block; max-width: 180px; margin-top: 5px; font-size: 11px; line-height: 1.35; }
.product-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; padding: 20px 17px 17px; background: #fff; }
.product-kicker { display: block; margin: 0 0 6px; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .05em; }
.part-number { margin: 0 0 8px; font-size: 22px; line-height: 1.15; letter-spacing: -.015em; overflow-wrap: anywhere; }
.vehicle-card-summary { min-height: 72px; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 11px; align-items: center; }
.vehicle-image-set { display: grid; gap: 7px; }
.vehicle-image-set-card { width: 112px; }
.vehicle-shot { position: relative; width: 100%; margin: 0; overflow: hidden; border-radius: 7px; }
.vehicle-card-photo, .vehicle-card-placeholder { width: 112px; height: 70px; border: 1px solid #dde1e6; border-radius: 7px; background: #f7f8f9; }
.vehicle-card-photo { display: block; object-fit: cover; object-position: center; }
.vehicle-card-placeholder { display: grid; place-items: center; padding: 6px; color: #7c838d; border-style: dashed; font-size: 9px; line-height: 1.25; text-align: center; }
.vehicle-shot-range { position: absolute; right: 4px; bottom: 4px; padding: 2px 4px; color: #fff; background: rgba(19, 23, 29, .82); border-radius: 3px; font-size: 8px; font-weight: 800; line-height: 1.2; }
.vehicle-summary { margin: 0; color: #39414b; font-size: 14px; line-height: 1.35; }
.application-meta { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.compound-note { margin: 8px 0 0; color: #8a5b14; font-size: 11px; line-height: 1.35; }
.status-list { min-height: 27px; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.status-badge { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 900; }
.status-badge.verified { color: var(--green); background: #e9f7f0; }
.status-badge.verify-vin { color: var(--amber); background: #fff6e5; }
.status-badge.verify-india-variant { color: #9a4d00; background: #fff0df; }
.status-badge.global-listing { color: var(--blue); background: #edf3ff; }
.price-note { margin: 15px 0 0; font-size: 14px; font-weight: 900; }
.card-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; margin-top: 13px; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 11px; border-radius: 7px; text-align: center; font-size: 12px; font-weight: 900; }
.button-secondary { color: var(--ink); background: #fff; border: 1px solid #cbd0d6; }
.button-secondary:hover { border-color: var(--ink); }
.button-whatsapp { color: #fff; background: #108f50; border: 1px solid #108f50; }
.button-whatsapp:hover { background: #087a45; }
.empty-state { grid-column: 1 / -1; padding: 48px 24px; color: var(--muted); background: var(--soft); border: 1px dashed #c9ced4; border-radius: 12px; text-align: center; }
.empty-state strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 19px; }

.details-dialog { width: min(calc(100% - 32px), 760px); max-height: min(86vh, 760px); padding: 0; overflow: auto; color: var(--ink); background: #fff; border: 0; border-radius: 16px; box-shadow: 0 28px 90px rgba(0, 0, 0, .35); }
.details-dialog::backdrop { background: rgba(10, 12, 16, .68); }
.dialog-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: start; gap: 18px; padding: 22px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 4px 0 0; font-size: 27px; }
.dialog-head button { width: 40px; height: 40px; background: #f2f3f5; border: 0; border-radius: 50%; font-size: 28px; line-height: 1; }
#dialogContent { padding: 22px 24px 26px; }
.dialog-intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.dialog-intro p { margin: 0; color: var(--muted); }
.fitment-list { display: grid; gap: 10px; }
.fitment-row { display: grid; grid-template-columns: 112px 1.25fr .75fr 1fr auto; gap: 12px; align-items: center; padding: 13px; background: var(--soft); border: 1px solid #e7e9ec; border-radius: 9px; font-size: 13px; }
.vehicle-image-set-details, .fitment-vehicle-image, .vehicle-placeholder { width: 112px; }
.fitment-vehicle-image, .vehicle-placeholder { height: 70px; background: #fff; border: 1px solid #dfe3e8; border-radius: 7px; }
.fitment-vehicle-image { display: block; object-fit: cover; object-position: center; }
.vehicle-placeholder { display: grid; place-items: center; padding: 6px; color: #7c838d; border-style: dashed; font-size: 10px; line-height: 1.25; text-align: center; }
.dialog-warning { margin: -4px 0 16px; padding: 11px 13px; color: #7b4b00; background: #fff8e9; border: 1px solid #f4ddb0; border-radius: 8px; font-size: 13px; }
.fitment-row strong { display: block; font-size: 14px; }
.fitment-row small { display: block; margin-top: 3px; color: var(--muted); }
.dialog-actions { display: flex; justify-content: end; margin-top: 20px; }
.dialog-actions .button { min-width: 180px; }

.site-footer { color: #fff; background: #17191d; border-top: 4px solid var(--red); }
.footer-row { min-height: 112px; display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 24px; }
.footer-row img { width: 205px; height: 70px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.footer-row p { margin: 0; color: #c8ccd1; font-size: 13px; }
.footer-row a { color: #fff; font-weight: 800; }

@media (max-width: 1180px) {
  .hero { min-height: 555px; }
  .hero-copy { width: 61%; padding-left: 34px; }
  .hero h1 { font-size: 50px; }
  .catalogue-search { width: 47%; right: 26px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-row { grid-template-columns: 200px 1fr; }
  .footer-row p:last-child { grid-column: 1 / -1; padding-bottom: 20px; }
}

@media (max-width: 850px) {
  .site-header { position: static; }
  .header-row { min-height: 76px; }
  .brand img { width: 194px; height: 62px; }
  .header-actions { gap: 18px; }
  .nav-row { width: calc(100% - 24px); }
  .hero { min-height: 0; padding: 25px; display: flex; flex-direction: column; gap: 22px; }
  .hero-media { position: relative; inset: auto; order: 2; width: 100%; height: 265px; border-radius: 13px; }
  .hero-visual { object-position: 58% center; }
  .hero-shade { display: none; }
  .hero-copy { order: 1; width: 100%; padding: 0; }
  .hero-copy > p:not(.enthusiast-signature) { max-width: 650px; }
  .benefit-strip { max-width: 680px; }
  .catalogue-search { position: relative; inset: auto; order: 3; width: 100%; }
  .hero-corner { position: relative; inset: auto; order: 4; margin: -10px 0 0 auto; }
  .catalogue { grid-template-columns: 1fr; }
  .filters {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 70;
    width: min(88vw, 340px);
    max-height: 100vh;
    overflow: auto;
    border: 0;
    border-radius: 0 14px 14px 0;
    transform: translateX(-105%);
    transition: transform .22s ease;
  }
  .filters.is-open { transform: translateX(0); }
  .filter-close, .apply-filters { display: block; }
  .apply-filters { width: 100%; margin-top: 22px; padding: 13px; color: #fff; background: var(--red); border: 0; border-radius: 8px; font-weight: 900; }
  .filter-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(10, 12, 16, .6); }
  .mobile-filter-button { display: inline-flex; align-items: center; gap: 8px; width: max-content; min-height: 43px; padding: 0 15px; color: #fff; background: var(--ink); border: 0; border-radius: 8px; font-weight: 900; }
  .mobile-filter-button span { min-width: 22px; height: 22px; display: grid; place-items: center; color: var(--ink); background: #fff; border-radius: 999px; font-size: 11px; }
}

@media (max-width: 620px) {
  .wrap, .hero { width: calc(100% - 24px); }
  .promo { font-size: 11px; }
  .header-row { justify-content: center; }
  .header-actions { display: none; }
  .breadcrumbs { padding-block: 13px; }
  .hero { padding: 21px 17px; border-radius: 13px; }
  .kn-hero-logo { width: 146px; height: 60px; margin-bottom: 13px; }
  .hero h1 { font-size: 38px; }
  .hero-copy p { font-size: 15px; }
  .benefit-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
  .benefit-item:nth-child(2) { border-right: 0; }
  .benefit-item:nth-child(3) { padding-left: 0; }
  .hero-media { height: 210px; }
  .catalogue-search { padding: 16px; }
  .search-control { grid-template-columns: 1fr; border: 0; overflow: visible; }
  .search-control input { border: 1px solid #cfd4da; border-radius: 8px; }
  .search-control button { min-height: 46px; margin-top: 8px; border-radius: 8px; }
  .results-heading { align-items: stretch; flex-direction: column; }
  .sort-label select { width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .product-media { height: 220px; }
  .fitment-row { grid-template-columns: 1fr 1fr; }
  .fitment-row > :first-child { grid-column: 1 / -1; width: 100%; }
  .vehicle-image-set-details { grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); }
  .vehicle-image-set-details .fitment-vehicle-image { width: 100%; height: 96px; }
  .fitment-row > :last-child { grid-column: 1 / -1; }
  .footer-row { grid-template-columns: 1fr; justify-items: center; padding: 22px 0; text-align: center; }
  .footer-row img { object-position: center; }
  .footer-row p:last-child { grid-column: auto; padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
