/**
 * Exact 1280 only: pet/owner DETAIL hero —
 * like / comment / share UNDER rating, left-aligned.
 * Scope: .pet__top_image > .card-stars__wrapper on /pets/ and /pet-owners/.
 * Other widths untouched. Marker: detailstars128020260814a
 */

@media (min-width: 1280px) and (max-width: 1280.98px) {
  .pet .pet-detail-page .pet__top .pet__top_image > .card-stars__wrapper,
  .pet .profile-detail-page .pet__top .pet__top_image > .card-stars__wrapper,
  .pet .pet-owner-public-profile .pet__top .pet__top_image > .card-stars__wrapper {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    row-gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .pet .pet-detail-page .pet__top .pet__top_image > .card-stars__wrapper > .entity-star-rating,
  .pet .pet-detail-page .pet__top .pet__top_image > .card-stars__wrapper > .card-stars,
  .pet .profile-detail-page .pet__top .pet__top_image > .card-stars__wrapper > .entity-star-rating,
  .pet .profile-detail-page .pet__top .pet__top_image > .card-stars__wrapper > .card-stars,
  .pet .pet-owner-public-profile .pet__top .pet__top_image > .card-stars__wrapper > .entity-star-rating,
  .pet .pet-owner-public-profile .pet__top .pet__top_image > .card-stars__wrapper > .card-stars {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 1 !important;
    margin: 0 !important;
  }

  .pet .pet-detail-page .pet__top .pet__top_image > .card-stars__wrapper > .card__buttons,
  .pet .profile-detail-page .pet__top .pet__top_image > .card-stars__wrapper > .card__buttons,
  .pet .pet-owner-public-profile .pet__top .pet__top_image > .card-stars__wrapper > .card__buttons {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    order: 2 !important;
  }
}
