/* Shared category-card alignment for brand and product category pages. */
.s-offers > .container > .container.offers {
  width: auto;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
}

.s-offers .offers {
  align-items: stretch;
  grid-auto-rows: auto;
}

.s-offers .offer-card {
  box-sizing: border-box;
  display: flex;
  min-width: 0;
  height: 100%;
  padding: 24px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  overflow: hidden;
  border-radius: 12px;
}

.s-offers .offer-card-head {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.s-offers .offer-card-head-txt {
  display: block;
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.s-offers .offer-card-desc {
  display: -webkit-box;
  max-width: 100%;
  max-height: 4.35em;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #66717a;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow-wrap: anywhere;
}

.s-offers .offer-card-desc:empty {
  display: none;
}

@media screen and (max-width: 767.98px) {
  .s-offers .offer-card {
    display: flex;
    padding: 24px;
  }

  .s-offers .offer-card-head {
    padding: 0;
  }
}

