.nx-products-section {
  --nx-blue: #2457c5;
  --nx-blue-dark: #173d91;
  --nx-ink: #18243a;
  --nx-text: #40516b;
  --nx-muted: #6b7890;
  --nx-line: #dce5f1;
  padding: 80px 0;
  background: #fafafa;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic Pro", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

.nx-products-section * {
  box-sizing: border-box;
}

.nx-products-section .nx-container {
  width: min(1150px, calc(100% - 40px));
  margin: 0 auto;
}

.nx-products-section .nx-section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.nx-products-section .nx-eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  align-items: center;
  gap: 8px;
  color: var(--nx-blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.nx-products-section .nx-eyebrow::before,
.nx-products-section .nx-eyebrow::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.nx-products-section .nx-section-head h2 {
  margin: 0;
  color: #333;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.nx-products-section .nx-section-head p {
  margin: 14px auto 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.nx-product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nx-product-card:hover {
  border-color: #aac3ef;
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.nx-product-card > a {
  display: block;
  color: inherit !important;
  text-decoration: none;
}

.nx-product-media {
  display: flex;
  height: 190px;
  padding: 18px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f7fbff, #eef4ff);
}

.nx-product-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(26, 54, 96, 0.14));
}

.nx-product-body {
  padding: 20px 22px 22px;
}

.nx-product-body h3 {
  margin: 0;
  color: #333;
  font-size: 1rem !important;
  font-weight: 700;
  line-height: 1.5;
}

.nx-product-body p {
  min-height: 48px;
  margin: 8px 0 16px;
  color: #666;
  font-size: 0.76rem;
  line-height: 1.55;
}

.nx-card-link {
  color: #4273db;
  font-size: 0.76rem;
  font-weight: 700;
}

.nx-product-footer {
  margin-top: 32px;
  text-align: center;
}

.nx-products-section .nx-button {
  display: inline-flex;
  width: 250px;
  min-width: 250px;
  max-width: 250px;
  min-height: 52px;
  padding: 15px 16px;
  align-items: center;
  justify-content: center;
  border: 2px solid #4273db;
  border-radius: 4px;
  color: #4273db !important;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.nx-products-section .nx-button:hover {
  border-color: #315fd9;
  color: #315fd9 !important;
  transform: translateY(-2px);
}

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

@media (max-width: 680px) {
  .nx-products-section {
    padding: 60px 0;
  }

  .nx-products-section .nx-container {
    width: min(100% - 28px, 1150px);
  }

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

  .nx-product-media {
    height: 175px;
  }

  .nx-products-section .nx-button {
    width: 100%;
    min-width: 0;
    max-width: 250px;
  }
}
