.kb-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.kb-category-featured,
.kb-catalog-image-link {
  position: relative;
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #e9ece6;
}

.kb-board-product-link {
  display: block;
  width: 100%;
  height: 100%;
}

.kb-board-product-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kb-category-featured {
  margin-bottom: 32px;
  border-radius: 18px;
}

.kb-category-featured img {
  width: 100%;
  max-height: 430px;
  margin: 0 !important;
  object-fit: cover;
}

.kb-category-featured span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(16, 27, 28, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.kb-catalog-image-link {
  aspect-ratio: 1 / .72;
}

.kb-catalog-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.kb-catalog-image-link:hover img {
  transform: scale(1.025);
}

.kb-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(22, 31, 29, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(29, 42, 38, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.kb-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(29, 42, 38, 0.14);
}

.kb-product-card > a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.kb-product-image {
  position: relative;
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  background: #eef1ec;
}

.kb-product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

.kb-product-card:hover .kb-product-image img {
  transform: scale(1.025);
}

.kb-product-image span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(16, 26, 23, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.kb-product-copy {
  padding: 15px;
}

.kb-product-copy small {
  color: #68746f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.kb-product-copy h3 {
  min-height: 2.7em;
  margin: 7px 0 10px;
  overflow: hidden;
  color: #15201d;
  font-size: 16px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.kb-product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  margin: 0;
  color: #64706b;
  font-size: 12px;
}

.kb-product-meta strong {
  color: #17241f;
  font-size: 14px;
}

.kb-product-note {
  margin: 16px 0 0;
  color: #66716d;
  font-size: 12px;
  line-height: 1.55;
}

.kb-expand {
  display: none;
  width: 100%;
  margin-top: 14px;
  min-height: 44px;
  border: 1px solid rgba(22, 31, 29, 0.2);
  border-radius: 12px;
  background: #fff;
  color: #18241f;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.kb-qc-intro {
  margin-bottom: 26px;
}

.kb-qc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 34px;
}

.kb-qc-card {
  padding: 18px;
  border: 1px solid rgba(22, 31, 29, 0.12);
  border-radius: 16px;
  background: #f6f4eb;
}

.kb-qc-card span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 50%;
  background: #183228;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.kb-qc-card h3 {
  margin: 0 0 8px;
  color: #17241f;
  font-size: 17px;
}

.kb-qc-card p {
  margin: 0;
  color: #5d6964;
  font-size: 14px;
  line-height: 1.6;
}

.kb-category-products {
  margin-top: 38px;
}

.kb-category-products > h2 {
  margin-bottom: 8px;
}

.kb-side-list {
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.kb-side-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 23px;
  line-height: 1.4;
}

.kb-side-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: #166f50;
  font-weight: 900;
}

.kb-side-button {
  width: 100%;
  justify-content: center;
}

.kb-product-page {
  min-height: 100vh;
  margin: 0;
  background: #f4f1e7;
  color: #17211e;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.kb-product-page * {
  box-sizing: border-box;
}

.kb-product-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.kb-product-header {
  border-bottom: 1px solid rgba(22, 31, 29, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.kb-product-header .kb-product-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.kb-product-logo {
  display: inline-flex;
  align-items: center;
}

.kb-product-logo img {
  width: 178px;
  height: auto;
  display: block;
}

.kb-language-select {
  min-height: 40px;
  padding: 0 38px 0 12px;
  border: 1px solid rgba(22, 31, 29, 0.2);
  border-radius: 10px;
  background: #fff;
  color: #18241f;
  font: inherit;
  font-weight: 700;
}

.kb-product-main {
  padding: 42px 0 64px;
}

.kb-breadcrumbs {
  margin: 0 0 24px;
  color: #69746f;
  font-size: 13px;
}

.kb-breadcrumbs a {
  color: #245b46;
  text-decoration: none;
}

.kb-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 42px;
  align-items: start;
}

.kb-detail-image {
  overflow: hidden;
  border-radius: 24px;
  background: #e7e9e3;
  box-shadow: 0 18px 48px rgba(27, 40, 35, 0.12);
}

.kb-detail-image img {
  width: 100%;
  aspect-ratio: 1 / 0.9;
  display: block;
  object-fit: cover;
}

.kb-detail-copy {
  padding: 12px 0;
}

.kb-detail-copy .kb-kicker {
  margin: 0 0 12px;
  color: #1b7153;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kb-detail-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
}

.kb-price {
  margin: 0 0 22px;
  color: #173d2f;
  font-size: 30px;
  font-weight: 900;
}

.kb-price small {
  display: block;
  margin-top: 6px;
  color: #6b7671;
  font-size: 12px;
  font-weight: 600;
}

.kb-facts {
  display: grid;
  gap: 0;
  margin: 0 0 24px;
  border-top: 1px solid rgba(22, 31, 29, 0.12);
}

.kb-fact {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(22, 31, 29, 0.12);
  font-size: 14px;
}

.kb-fact span {
  color: #6a7570;
}

.kb-fact strong {
  text-align: right;
}

.kb-source-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 12px;
  background: #193c30;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.kb-detail-note {
  max-width: 58ch;
  margin: 18px 0 0;
  color: #65706b;
  font-size: 13px;
  line-height: 1.6;
}

.kb-detail-qc {
  margin-top: 54px;
  padding-top: 36px;
  border-top: 1px solid rgba(22, 31, 29, 0.14);
}

.kb-detail-qc h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.kb-product-footer {
  padding: 28px 0;
  border-top: 1px solid rgba(22, 31, 29, 0.12);
  color: #65706b;
  font-size: 12px;
}

@media (max-width: 900px) {
  .kb-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kb-qc-grid {
    grid-template-columns: 1fr;
  }

  .kb-detail-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 600px) {
  .kb-product-grid {
    gap: 9px;
  }

  .kb-product-copy {
    padding: 10px;
  }

  .kb-product-copy h3 {
    margin: 5px 0 7px;
    font-size: 13px;
  }

  .kb-product-meta {
    display: block;
    font-size: 10px;
  }

  .kb-product-meta strong {
    display: block;
    margin-top: 3px;
    font-size: 12px;
  }

  .kb-home-grid:not(.is-expanded) .kb-product-card:nth-child(n + 5) {
    display: none;
  }

  .kb-expand {
    display: block;
  }

  .kb-category-products {
    margin-top: 28px;
  }

  .kb-qc-card {
    padding: 14px;
  }

  .kb-product-header .kb-product-shell {
    min-height: 64px;
  }

  .kb-product-logo img {
    width: 145px;
  }

  .kb-product-main {
    padding: 24px 0 42px;
  }

  .kb-detail-copy h1 {
    font-size: 30px;
  }

  .kb-detail-image {
    border-radius: 18px;
  }
}


.kb-category-intent {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.kb-category-intent > div,
.kb-handoff-panel {
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}
.kb-category-intent > div { padding: 13px 14px; }
.kb-category-intent small {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.kb-category-intent strong {
  display: block;
  margin-top: 5px;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.35;
}
.kb-handoff-panel {
  margin: 22px 0;
  padding: 22px;
}
.kb-handoff-panel h2 { margin: 6px 0 10px; }
.kb-handoff-panel p { line-height: 1.7; }
.kb-handoff-panel ul {
  margin: 12px 0 0;
  padding-left: 20px;
}
.kb-handoff-panel li { margin: 7px 0; line-height: 1.55; }
@media (max-width: 760px) {
  .kb-category-intent { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 14px; }
  .kb-category-intent > div { padding: 10px; }
  .kb-category-intent strong { font-size: 12px; }
  .kb-handoff-panel { margin: 16px 0; padding: 16px; }
}

.kb-topic-links,
.kb-related-topics {
  margin-top: 2rem;
  padding: 1.4rem;
  border: 1px solid rgba(26, 34, 29, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.kb-topic-links h2,
.kb-related-topics h2 {
  margin-top: 0;
}

.kb-topic-links p,
.kb-related-topics p {
  line-height: 1.75;
}
