/* 1.8.0: only the layout delta; base styles remain in the homepage bundle. */
.mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card,
.mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card * {
  box-sizing: border-box;
}
.mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card.is-hidden {
  display: none !important;
}
.mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__body {
  height: auto !important;
  min-height: 0 !important;
  flex: 1 1 0 !important;
  gap: 0 !important;
}
.mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__title {
  height: auto !important;
  min-height: 0 !important;
  max-height: 60px !important;
  flex: 0 0 auto !important;
  font-size: 14px !important;
  line-height: 20px !important;
  margin: 0 0 8px !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  overflow-wrap: anywhere;
}
.mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__title a {
  display: inline !important;
  font-size: inherit !important;
  line-height: inherit !important;
}
.mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__desc {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: 0 1 auto !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  overflow: hidden !important;
  -webkit-line-clamp: unset !important;
}
.mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__desc--auto {
  flex: 1 1 0 !important;
}
.mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__desc-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--mwhcp-description-lines, 3);
  overflow: hidden;
  overflow-wrap: anywhere;
  font: inherit;
  color: inherit;
}
.mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__desc-text--mobile {
  display: none;
}
.mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__meta,
.mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__shipping,
.mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__footer,
.mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__rating {
  flex: 0 0 auto !important;
}
.mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__footer {
  margin-top: auto !important;
}
@media (max-width: 991px) {
  .mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__title {
    max-height: 54px !important;
    font-size: 12px !important;
    line-height: 18px !important;
  }
}
@media (max-width: 767px) {
  .mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__title {
    max-height: 48px !important;
    font-size: 11.5px !important;
    line-height: 16px !important;
  }
  .mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__desc-text--desktop {
    display: none;
  }
  .mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__desc-text--mobile {
    display: -webkit-box;
  }
}
/* On the narrowest phones, reserve separate rows for the full price and cart. */
@media (max-width: 380px) {
  .mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
  }
  .mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__price-wrap {
    width: 100% !important;
    height: auto !important;
    min-height: 20px !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
  .mwhcp-wrap.mwhcp-wrap--adaptive .mwhcp-card__cart {
    width: auto !important;
    align-self: flex-end !important;
  }
}
