/* Product center refresh scoped to static2. Legacy static/static1 assets remain untouched. */
html,
body {
  background: #f5f7fb;
  color: #1f2937;
}

header,
.header_on,
.nav,
.nav1-box,
.item-box {
  z-index: 10020;
}

header,
.header-box,
.header-nav,
.header-nav .nav-head,
.header-nav .nav-head .nav-fir,
header .nav ul .item {
  overflow: visible;
}

.kd-product-mega {
  padding: 68px 0 86px;
  background: #f5f7fb;
}

.kd-product-panel {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.kd-product-nav {
  position: sticky;
  top: 118px;
  overflow: hidden;
  border: 1px solid #e5eaf3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(17, 35, 69, 0.08);
}

.kd-product-nav a {
  display: block;
  min-height: 56px;
  padding: 18px 22px;
  border-bottom: 1px solid #edf1f6;
  color: #3f4b5f;
  font-size: 16px;
  line-height: 1.35;
}

.kd-product-nav a:last-child {
  border-bottom: 0;
}

.kd-product-nav a.active,
.kd-product-nav a:hover {
  background: #075fd5;
  color: #fff;
}

.kd-product-content {
  min-width: 0;
}

.kd-product-group {
  margin-bottom: 34px;
  padding: 34px 38px 40px;
  border: 1px solid #e5eaf3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 35, 69, 0.06);
  scroll-margin-top: 110px;
}

.kd-product-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf1f6;
}

.kd-product-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

.kd-product-heading p {
  max-width: 520px;
  margin: 0;
  color: #7a8596;
  font-size: 15px;
  line-height: 1.65;
  text-align: right;
}

.kd-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.kd-product-grid-primary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kd-product-link {
  display: block;
  min-height: 110px;
  padding: 21px 22px;
  border: 1px solid #e3e9f2;
  border-radius: 6px;
  background: #fbfcff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.kd-product-link:hover {
  border-color: #8bb0ee;
  box-shadow: 0 12px 28px rgba(7, 95, 213, 0.12);
  transform: translateY(-2px);
}

.kd-product-link strong {
  display: block;
  color: #172033;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.kd-product-link span {
  display: block;
  margin-top: 8px;
  color: #7a8596;
  font-size: 14px;
  line-height: 1.55;
}

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

.kd-product-columns > div {
  min-width: 0;
  padding: 24px 24px 22px;
  border: 1px solid #e7ecf4;
  border-radius: 6px;
  background: #fff;
}

.kd-product-columns h3 {
  margin: 0 0 14px;
  color: #075fd5;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.kd-product-columns a,
.kd-domain-list a {
  display: block;
  color: #344055;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.kd-product-columns a {
  padding: 8px 0;
}

.kd-product-columns a:hover,
.kd-domain-list a:hover {
  color: #075fd5;
}

.kd-domain-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.kd-domain-list a {
  padding: 16px 18px;
  border: 1px solid #e3e9f2;
  border-radius: 6px;
  background: #fbfcff;
  font-weight: 600;
}

.kd-legacy-products {
  display: none;
}

@media (max-width: 1180px) {
  .kd-product-mega .w1440 {
    width: auto;
    max-width: none;
    padding: 0 20px;
  }

  .kd-product-panel {
    grid-template-columns: 1fr;
  }

  .kd-product-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .kd-product-nav a {
    border-right: 1px solid #edf1f6;
    border-bottom: 0;
    text-align: center;
  }

  .kd-product-grid-primary,
  .kd-product-columns,
  .kd-domain-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .kd-product-mega {
    padding: 44px 0 58px;
  }

  .kd-product-mega .w1440 {
    padding: 0 16px;
  }

  .kd-product-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    background: transparent;
    box-shadow: none;
  }

  .kd-product-nav a {
    flex: 0 0 auto;
    min-width: 132px;
    padding: 12px 16px;
    border: 1px solid #e3e9f2;
    border-radius: 999px;
    background: #fff;
    text-align: center;
    white-space: nowrap;
  }

  .kd-product-group {
    padding: 26px 20px 28px;
  }

  .kd-product-heading {
    display: block;
  }

  .kd-product-heading h2 {
    font-size: 24px;
  }

  .kd-product-heading p {
    max-width: none;
    margin-top: 10px;
    text-align: left;
  }

  .kd-product-grid,
  .kd-product-grid-primary,
  .kd-product-columns,
  .kd-domain-list {
    grid-template-columns: 1fr;
  }
}
