/* Standard electromagnetic products — tabbed catalog */
.std-products-section {
  background: #f4f7fb;
  padding: 48px 0 80px;
  border-top: 1px solid #e2e8f0;
  scroll-margin-top: 100px;
}

.std-products-inner {
  width: 100%;
  max-width: var(--site-page-content-max, var(--container-max-width, 1400px));
  margin: 0 auto;
  padding-inline: var(--site-page-content-gutter, 10px);
  box-sizing: border-box;
}

.std-products-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}

.std-products-tab {
  appearance: none;
  border: 1px solid #c5d9ec;
  background: #fff;
  color: #1462ab;
  font-size: 17px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.std-products-tab:hover {
  border-color: #1462ab;
  box-shadow: 0 4px 14px rgba(20, 98, 171, 0.12);
}

.std-products-tab.is-active {
  background: #1462ab;
  border-color: #1462ab;
  color: #fff;
}

.std-products-panel {
  display: none;
  animation: stdFadeIn 0.35s ease;
}

.std-products-panel.is-active {
  display: block;
}

@keyframes stdFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.std-products-intro {
  background: #fff;
  border-radius: 12px;
  padding: 24px 32px;
  margin-bottom: 32px;
  color: #3a4a5a;
  font-size: 16px;
  line-height: 1.8;
  box-shadow: 0 2px 12px rgba(20, 98, 171, 0.06);
}

.std-products-intro strong {
  color: #1462ab;
  font-weight: 600;
}

.std-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.std-product-card {
  display: flex;
  gap: 22px;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 14px rgba(20, 98, 171, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  min-height: 200px;
}

.std-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(20, 98, 171, 0.14);
}

.std-product-card:focus-visible {
  outline: 3px solid rgba(20, 98, 171, 0.45);
  outline-offset: 2px;
}

.std-product-card.no-download {
  cursor: default;
}

.std-product-card.no-download:hover {
  transform: none;
  box-shadow: 0 2px 14px rgba(20, 98, 171, 0.08);
}

.std-product-thumb {
  flex: 0 0 168px;
  width: 168px;
  height: 168px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef3f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.std-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.std-product-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.std-product-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  color: #1462ab;
}

.std-product-subtitle {
  margin: 0 0 10px;
  font-size: 15px;
  color: #4a5568;
  line-height: 1.55;
}

.std-product-specs {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #5a6573;
  line-height: 1.6;
}

.std-product-specs li {
  margin-bottom: 4px;
  white-space: pre-line;
}

.std-product-dl {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  background: #1462ab;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s;
}

.std-product-card:hover .std-product-dl {
  background: #0f4f8f;
}

.std-products-meta {
  margin-top: 36px;
  display: grid;
  gap: 20px;
}

.std-products-meta-block {
  background: #fff;
  border-radius: 12px;
  padding: 24px 32px;
  box-shadow: 0 2px 12px rgba(20, 98, 171, 0.06);
}

.std-products-meta-block h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #1462ab;
}

.std-products-meta-block p {
  margin: 0;
  color: #4a5568;
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-line;
}

.std-products-loading,
.std-products-error {
  text-align: center;
  color: #64748b;
  padding: 40px 20px;
}

.std-products-error {
  color: #b42318;
}

@media (max-width: 900px) {
  .std-products-section {
    padding: 40px 0 64px;
  }

  .std-products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .std-products-section {
    padding: 32px 0 56px;
  }

  .std-product-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 0;
    padding: 20px;
  }

  .std-product-thumb {
    flex: 0 0 auto;
    width: 140px;
    height: 140px;
  }

  .std-product-dl {
    align-self: center;
  }

  .std-products-tab {
    font-size: 15px;
    padding: 10px 18px;
  }
}
