.bhabc-card {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  width: 100%;
  margin: 32px 0;
  padding: 24px;
  border: 1px solid #dfd0c2;
  border-radius: 8px;
  background: #f8f3eb;
  color: #282321;
  font-family: inherit;
  font-size: 17px;
  line-height: 1.55;
  text-align: left;
}
.bhabc-card *,
.bhabc-card *::before,
.bhabc-card *::after {
  box-sizing: border-box;
}
.bhabc-card .bh-author-book__cover {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 160px;
  margin: 0;
}
.bhabc-card .bh-author-book__cover img {
  display: block;
  float: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 240px;
  margin: 0;
  object-fit: contain;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(56, 32, 26, 0.14);
}
.bhabc-card .bh-author-book__details {
  min-width: 0;
}
.bhabc-card .bh-author-book__label {
  margin: 0 0 8px;
  color: #71312f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.bhabc-card .bh-author-book__title {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  color: #282321;
  font-family: inherit;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: normal;
  text-transform: none;
  overflow-wrap: anywhere;
}
.bhabc-card .bh-author-book__subtitle {
  margin: 0 0 10px;
  color: #4b403a;
  font-size: 16px;
  line-height: 1.45;
}
.bhabc-card .bh-author-book__author {
  margin: 0 0 18px;
  color: #282321;
  font-size: 17px;
  line-height: 1.5;
}
.bhabc-card .bh-author-book__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 0;
}
.bhabc-card .bh-author-book__buy {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 18px;
  border: 2px solid #71312f;
  border-radius: 4px;
  background: #71312f;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
}
.bhabc-card .bh-author-book__buy:hover,
.bhabc-card .bh-author-book__buy:active {
  border-color: #512321;
  background: #512321;
  color: #ffffff;
  text-decoration: none;
}
.bhabc-card .bh-author-book__shop {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #71312f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bhabc-card .bh-author-book__shop:hover {
  color: #512321;
}
.bhabc-card a:focus-visible {
  outline: 3px solid #282321;
  outline-offset: 4px;
}
.bhabc-card .bh-author-book__seller {
  margin: 12px 0 0;
  color: #5b514b;
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 560px) {
  .bhabc-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 20px;
  }
  .bhabc-card .bh-author-book__cover {
    justify-self: center;
  }
  .bhabc-card .bh-author-book__title {
    font-size: 22px;
  }
}

