/**
 * Pet / owner info row «Подписан» etc. — 2 columns wherever the single row
 * overflows the card. Measured fit from 900px up, so PC and 1024 stay one row.
 */
@media (max-width: 899.98px) {
  html body .pet .pet-detail-page .pet__info_flex,
  html body .pet-detail-page .pet__info_flex,
  html body .profile-detail-page .pet__info_flex,
  html body .pet-owner-public-profile .pet__info_flex {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html body .pet .pet-detail-page .pet__info_item,
  html body .pet-detail-page .pet__info_item,
  html body .profile-detail-page .pet__info_item,
  html body .pet-owner-public-profile .pet__info_item,
  html body .pet-detail-page a.pet__info_item--link,
  html body .profile-detail-page a.pet__info_item--link {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  html body .pet-detail-page .pet__info_item .text-gray,
  html body .profile-detail-page .pet__info_item .text-gray,
  html body .pet-owner-public-profile .pet__info_item .text-gray,
  html body .pet-detail-page .pet__info_item .pet__info_title,
  html body .pet-detail-page a.pet__info_item--link .text-gray {
    font-size: 11px !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere !important;
  }
}

html body .pet__top.user-slide.cotinder-user-look--has-cover .pet__top_description {
  position: relative;
  z-index: 1;
  background: var(--cul-soft, #fff3ea);
  border-radius: 16px;
  padding: 12px 14px 14px;
  box-sizing: border-box;
}

@media (max-width: 899.98px) {
  html body .pet__top.user-slide.cotinder-user-look--has-cover .pet__top_description,
  html body .profile-detail-page .pet__top_description {
    padding-right: 68px;
  }
}
