.seo-related-products-layout {
  clear: both !important;
  float: none !important;
  width: 100% !important;
  max-width: 100%;
  margin: 28px 0 32px;
}

.seo-related-products-layout.left-column.pro_sidebar {
  border: 0;
  padding: 0;
}

.seo-related-products-widget,
.seo-related-products {
  width: 100%;
  max-width: 760px;
  margin: 28px auto 32px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  /*box-shadow: none;*/
}

.seo-related-products-widget > h2.othp_head,
.seo-related-products h2.othp_head,
.seo-related-products-widget > h3.othp_head,
.seo-related-products h3.othp_head {
  margin: 2px 0 12px;
  padding: 0;
  border: 0;
  color: #174b78;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-transform: none;
  font-size: 22px;
}

.seo-related-products-widget > h2.othp_head::after,
.seo-related-products h2.othp_head::after,
.seo-related-products-widget > h3.othp_head::after,
.seo-related-products h3.othp_head::after {
  display: none;
}

.seo-related-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.seo-related-product-card {
  display: flex;
  min-width: 0;
  min-height: 84px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #e1e3e6;
  border-radius: 8px;
  color: #202124 !important;
  text-align: center;
  text-decoration: none !important;
  box-shadow: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.seo-related-product-card:hover,
.seo-related-product-card:focus-visible {
  border-color: #9fc2e3;
  background: #f8fbff;
  color: #202124 !important;
  text-decoration: none !important;
}

.seo-related-product-card:focus-visible {
  outline: 3px solid #0d5bbd;
  outline-offset: 3px;
}

.seo-related-product-name {
  color: inherit;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.seo-related-product-arrow {
  color: #2c83c5;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.seo-related-product-card.active-category {
  background: #ffffff;
  color: #202124 !important;
}

@media (max-width: 991px) {
  .seo-related-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .seo-related-products-widget,
  .seo-related-products {
    padding: 10px;
  }

  .seo-related-products-grid {
    grid-template-columns: 1fr;
  }

  .seo-related-products-widget > h2.othp_head,
  .seo-related-products h2.othp_head,
  .seo-related-products-widget > h3.othp_head,
  .seo-related-products h3.othp_head {
    font-size: 15px;
  }
}
