/**
 * Global Science — Product card component
 */

.gs-product-card {
  align-items: center;
  background-color: var(--gs-color-white);
  border: 1px solid var(--gs-color-content);
  box-sizing: border-box;
  color: var(--gs-color-text);
  display: flex;
  gap: 0.75rem;
  min-height: 64px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.gs-product-card:hover,
.gs-product-card:focus-visible {
  opacity: 0.72;
}

.gs-product-card__logo {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  height: 70px;
  justify-content: center;
  width: 70px;
}

.gs-product-card__logo img {
  display: block;
  height: auto;
  max-height: 70px;
  max-width: 70px;
  object-fit: contain;
  width: auto;
}

.gs-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.125rem;
  justify-content: center;
  min-width: 0;
}

.gs-product-card__brand {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.gs-product-card__name {
  font-family: var(
    --wp--preset--font-family--noto-sans,
    "Noto Sans",
    sans-serif
  );
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  white-space: pre-line;
}
