

/* Start:/local/templates/cotinder/css/cotinder-pet-profile-extras.css?17912662166477*/
/* Pet profile extras: multi-photo, cities, contacts (scoped) */
.pet-gallery-upload__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
  justify-content: center;
}
.pet-gallery-upload__thumb {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
}
.pet-gallery-upload__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pet-gallery-upload__remove,
.pet-cities-field__chip button,
.pet-contacts-field__chip button {
  border: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  line-height: 20px;
  cursor: pointer;
  padding: 0;
}
.pet-gallery-upload__remove {
  position: absolute;
  top: 4px;
  right: 4px;
}
.pet-cities-field__chips,
.pet-contacts-field__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}
.pet-cities-field__chip,
.pet-contacts-field__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 10px;
  border-radius: 999px;
  background: #f3f5f8;
  font-size: 14px;
}
.pet-cities-field__chip button,
.pet-contacts-field__chip button {
  width: 18px;
  height: 18px;
  font-size: 14px;
  line-height: 16px;
  background: #9aa3af;
}
.pet-contacts-field__dropdown {
  margin-top: 4px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: #fff;
  max-height: 220px;
  overflow: auto;
}
.pet-contacts-field__option {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  cursor: pointer;
}
.pet-contacts-field__option:hover {
  background: #f6f7f9;
}
.pet-contact-me-field {
  margin: 8px 0 12px;
}
.pet-contact-me-field .checkbox,
.pet-favorite-toys .checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  cursor: pointer;
}
.pet-favorite-toys__label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}
.pet-favorite-toys__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.pet-favorite-toys .checkbox span,
.pet-contact-me-field .checkbox span {
  line-height: 1.3;
}
/**
 * Pet detail multi-photo: same 1:1 frame as single .pet__top_image > img,
 * swipe like posts. Scoped — does not touch custom.css.
 */
html body .pet .pet-detail-page .pet__top_image > .pet-detail__swiper,
html body .pet .pet__top .pet__top_image > .js-pet-detail-swiper,
html body .pet-detail-page .pet__top_image > .pet-detail__swiper {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 527px !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 0 7px !important;
  padding: 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

html body .pet .pet-detail-page .pet__top_image > .pet-detail__swiper .swiper-wrapper,
html body .pet .pet__top .pet__top_image > .js-pet-detail-swiper .swiper-wrapper {
  height: 100% !important;
}

html body .pet .pet-detail-page .pet__top_image > .pet-detail__swiper .swiper-slide,
html body .pet .pet__top .pet__top_image > .js-pet-detail-swiper .swiper-slide {
  height: 100% !important;
  overflow: hidden !important;
}

html body .pet .pet-detail-page .pet__top_image > .pet-detail__swiper .swiper-slide img,
html body .pet .pet__top .pet__top_image > .js-pet-detail-swiper .swiper-slide img,
html body .pet-detail-page .pet__top_image > .pet-detail__swiper .swiper-slide img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: unset !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 20px !important;
}

/* Nav / dots above the photo, like post gallery */
html body .pet .pet-detail-page .pet__top_image > .pet-detail__swiper .post__swiper-nav,
html body .pet .pet__top .pet__top_image > .js-pet-detail-swiper .post__swiper-nav {
  z-index: 12 !important;
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  overflow: visible !important;
}
html body .pet .pet-detail-page .pet__top_image > .pet-detail__swiper .post__swiper-nav svg,
html body .pet .pet__top .pet__top_image > .js-pet-detail-swiper .post__swiper-nav svg {
  display: block !important;
  width: 44px !important;
  height: 44px !important;
}
html body .pet .pet-detail-page .pet__top_image > .pet-detail__swiper .post__swiper-pagination,
html body .pet .pet__top .pet__top_image > .js-pet-detail-swiper .post__swiper-pagination {
  z-index: 12 !important;
  display: flex !important;
}

.pet-detail-page .pet-detail-map {
  margin-top: 10px;
}
.pet-detail-page .pet__top_photo-col {
  display: block;
  width: 100%;
  max-width: 527px;
  min-width: 0;
  box-sizing: border-box;
}
.pet-detail-page .pet__top_photo-col > .pet__top_image {
  width: 100%;
  max-width: 100%;
}
.pet-detail-page .pet__top_photo-col > .pet-detail-map--under-photo {
  margin-top: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.pet-detail-page .pet-detail-map__link {
  display: block;
  margin-top: 8px;
  max-width: 100%;
}
.pet-detail-page .pet-detail-map img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 520 / 240;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/*
 * PC ≥1200: media is display:contents. Photo + map stay one left column
 * (order 1), description beside it — no full-width map row / voids.
 */
@media (min-width: 1200px) {
  html body .pet .pet-detail-page .pet__top > .pet__top_media > .pet__top_photo-col {
    order: 1 !important;
    flex: 0 0 420px !important;
    flex-basis: 420px !important;
    width: 420px !important;
    max-width: min(420px, 46%) !important;
    min-width: 0 !important;
    align-self: flex-start !important;
  }
  html body .pet .pet-detail-page .pet__top > .pet__top_media > .pet__top_photo-col > .pet__top_image {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html body .pet .pet-detail-page .pet__top > .pet__top_media > .pet-engage-strip,
  html body .pet .pet-detail-page .pet__top > .pet__top_media > .cotinder-den {
    order: 3 !important;
  }
}

/* End */


/* Start:/local/templates/cotinder/css/cotinder-pet-seo-surface.css?17955297082087*/
.pet-detail-page .pet-detail-nav-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    margin: 0 0 0.75rem;
    padding: 0 0.25rem;
    font-size: 0.875rem;
    line-height: 1.4;
}
.pet-detail-nav-bar__crumbs {
    flex: 1 1 auto;
    min-width: 0;
}
.pet-detail-page .pet-detail-nav-bar .pet-seo-surface__crumbs-list {
    margin-bottom: 0;
}
.pet-detail-nav-bar__back {
    flex: 0 0 auto;
    margin-left: auto;
}
.pet-detail-page .entity-detail-page__back--crumbs-row {
    margin: 0;
}
.pet-detail-page .entity-detail-page__back--crumbs-row .entity-detail-page__back-link {
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}
.pet-detail-page .entity-detail-page__back-text--short {
    display: none;
}
@media (max-width: 767px) {
    .pet-detail-page .entity-detail-page__back-text--full {
        display: none;
    }
    .pet-detail-page .entity-detail-page__back-text--short {
        display: inline;
    }
}
.pet-detail-page .pet-seo-surface {
    margin: 0 0 1rem;
    padding: 0 0.25rem;
    font-size: 0.875rem;
    line-height: 1.4;
}
.pet-seo-surface__crumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin: 0 0 0.5rem;
    padding: 0;
    list-style: none;
}
.pet-seo-surface__crumbs-list li + li::before {
    content: '→';
    margin-right: 0.5rem;
    color: #6b6b6b;
}
.pet-seo-surface__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}
.pet-seo-surface__hub,
.pet-seo-surface__cta {
    color: #2d5a8c;
    text-decoration: underline;
}
.pet-seo-surface__similar {
    margin-top: 0.75rem;
}
.pet-seo-surface__similar-title {
    margin: 0 0 0.35rem;
    font-weight: 600;
}
.pet-seo-surface__similar-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pet-seo-surface__similar-link {
    color: #2d5a8c;
    text-decoration: underline;
}
/* End */


/* Start:/local/templates/cotinder/css/cotinder-pet-detail-posts-media-gap-1800.css?17867858144881*/
/**
 * /pets/… «Последние посты» — ONLY large PC ≥1800.
 * Gap between photo/video and .card-user by shrinking media inside the wrap.
 * Card outer size unchanged.
 * Does not edit custom.css / custom.min.css / mobile-card-fixes / footer.php.
 * Marker: petpostsgap180020260814e
 */

@media (min-width: 1800px) {
  .pet .pet-detail-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_full):not(.index__post_be-part):not(.index__post_curator-advice):not(.index__post_feed-banner) > .card.user-slide:not(.card__video) > .card__media-wrap,
  .pet .pet-detail-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_full):not(.index__post_be-part):not(.index__post_curator-advice):not(.index__post_feed-banner) > .card.user-slide:not(.card__video) > .card-img-wrap {
    box-sizing: border-box !important;
  }

  .pet .pet-detail-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_full):not(.index__post_be-part):not(.index__post_curator-advice):not(.index__post_feed-banner) > .card.user-slide:not(.card__video) > .card__media-wrap > a,
  .pet .pet-detail-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_full):not(.index__post_be-part):not(.index__post_curator-advice):not(.index__post_feed-banner) > .card.user-slide:not(.card__video) > .card-img-wrap > a,
  .pet .pet-detail-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_full):not(.index__post_be-part):not(.index__post_curator-advice):not(.index__post_feed-banner) > .card.user-slide:not(.card__video) > .card__media-wrap--gallery > .card__gallery-swiper {
    height: calc(100% - 12px) !important;
    min-height: 0 !important;
    max-height: calc(100% - 12px) !important;
  }

  .pet .pet-detail-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_full):not(.index__post_be-part):not(.index__post_curator-advice):not(.index__post_feed-banner) > .card.user-slide:not(.card__video) .card-img,
  .pet .pet-detail-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_full):not(.index__post_be-part):not(.index__post_curator-advice):not(.index__post_feed-banner) > .card.user-slide:not(.card__video) > .card__media-wrap img,
  .pet .pet-detail-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_full):not(.index__post_be-part):not(.index__post_curator-advice):not(.index__post_feed-banner) > .card.user-slide:not(.card__video) > .card-img-wrap img {
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  /* Video: wrap size stays (3/4). Author below video; video shrinks inside wrap. */
  .pet .pet-detail-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_full):not(.index__post_be-part):not(.index__post_curator-advice):not(.index__post_feed-banner) > .card.user-slide.card__video > .card__media-wrap,
  .pet .pet-detail-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_full):not(.index__post_be-part):not(.index__post_curator-advice):not(.index__post_feed-banner) > .card.user-slide.card__video > .card-img-wrap {
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
  }

  .pet .pet-detail-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_full):not(.index__post_be-part):not(.index__post_curator-advice):not(.index__post_feed-banner) > .card.user-slide.card__video > .card__media-wrap > a,
  .pet .pet-detail-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_full):not(.index__post_be-part):not(.index__post_curator-advice):not(.index__post_feed-banner) > .card.user-slide.card__video > .card-img-wrap > a {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    width: 100% !important;
    height: auto !important;
  }

  .pet .pet-detail-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_full):not(.index__post_be-part):not(.index__post_curator-advice):not(.index__post_feed-banner) > .card.user-slide.card__video > .card__media-wrap > .card-video-author {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 12px 0 0 !important;
    width: auto !important;
    max-width: 100% !important;
  }
}

/* End */


/* Start:/local/templates/cotinder/css/cotinder-entity-feed-banner-embed.css?17867858142526*/
/**
 * Entity detail (/pets/…, /pet-owners/…) mini feed banners.
 * Artwork IS the card (like curator --advice-bg / index feed --banner-bg).
 * Beats mobile-card-fixes contain + height:446|524 letterboxing.
 * Does not edit custom.css / custom.min.css / mobile-card-fixes / footer.php.
 * Index feed untouched (uses cotinder-feed-banner-embed.css).
 * Marker: entitybannerembed20260814a
 */

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
  min-height: 0 !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) > a.card.card__cotinder:not(.card__cotinder_full) {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  flex: 1 1 auto !important;
  align-self: stretch !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background-image: var(--banner-bg) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) > a.card.card__cotinder:not(.card__cotinder_full) > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (min-width: 768px) {
  .tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) > a.card.card__cotinder:not(.card__cotinder_full) {
    min-height: 446px !important;
  }
}

@media (max-width: 767.98px) {
  .tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post.index__post_feed-banner:not(.index__post_full) > a.card.card__cotinder:not(.card__cotinder_full) {
    min-height: 524px !important;
    height: 100% !important;
  }
}

/* End */


/* Start:/local/templates/cotinder/css/cotinder-entity-posts-equal-height.css?179066111310825*/
/**
 * Entity detail «Последние посты» (/pets/…, /pet-owners/…).
 * Photo media 1:1, video media 3:4 (no flex-stretch of the image box).
 * Curator advice stretches to the same row height as posts.
 * Scope: ONLY .tabs__content_right--entity-page .tabs__content_pet[data-target="last"]
 * Index feed untouched. Marker: entityposts20260814a
 */

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts {
  align-items: stretch !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_full):not(.index__post_be-part) {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
}

/* Photo posts: card fills row; media locked to 1:1 */
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_curator-advice):not(.index__post_full):not(.index__post_feed-banner) > .card.user-slide:not(.card__video):not(.index__events_article) {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  align-self: stretch !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_curator-advice):not(.index__post_full):not(.index__post_feed-banner) > .card.user-slide:not(.card__video):not(.index__events_article) > .card__media-wrap,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_curator-advice):not(.index__post_full):not(.index__post_feed-banner) > .card.user-slide:not(.card__video):not(.index__events_article) > .card-img-wrap {
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_curator-advice):not(.index__post_full):not(.index__post_feed-banner) > .card.user-slide:not(.card__video):not(.index__events_article) > .card__media-wrap > a,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_curator-advice):not(.index__post_full):not(.index__post_feed-banner) > .card.user-slide:not(.card__video):not(.index__events_article) > .card-img-wrap > a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_curator-advice):not(.index__post_full):not(.index__post_feed-banner) > .card.user-slide:not(.card__video):not(.index__events_article) .card-img,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_curator-advice):not(.index__post_full):not(.index__post_feed-banner) > .card.user-slide:not(.card__video):not(.index__events_article) > .card__media-wrap img,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_curator-advice):not(.index__post_full):not(.index__post_feed-banner) > .card.user-slide:not(.card__video):not(.index__events_article) > .card-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Gallery: same 1:1 box as single photo */
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_curator-advice):not(.index__post_full):not(.index__post_feed-banner) > .card.user-slide:not(.card__video):not(.index__events_article) > .card__media-wrap--gallery {
  display: flex !important;
  flex-direction: column !important;
  aspect-ratio: 1 / 1 !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_curator-advice):not(.index__post_full):not(.index__post_feed-banner) > .card.user-slide:not(.card__video):not(.index__events_article) > .card__media-wrap--gallery > .card__gallery-swiper {
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
  margin-bottom: 0 !important;
  width: 100% !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_curator-advice):not(.index__post_full):not(.index__post_feed-banner) > .card.user-slide:not(.card__video):not(.index__events_article) > .card__media-wrap--gallery .swiper-wrapper,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_curator-advice):not(.index__post_full):not(.index__post_feed-banner) > .card.user-slide:not(.card__video):not(.index__events_article) > .card__media-wrap--gallery .swiper-slide,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_curator-advice):not(.index__post_full):not(.index__post_feed-banner) > .card.user-slide:not(.card__video):not(.index__events_article) > .card__media-wrap--gallery .swiper-slide > a {
  height: 100% !important;
  min-height: 0 !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post:not(.index__post_curator-advice):not(.index__post_full):not(.index__post_feed-banner) > .card.user-slide:not(.card__video):not(.index__events_article) > .card__media-wrap--gallery .card-img {
  height: 100% !important;
  max-height: none !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide:not(.card__video):not(.index__events_article) > .card-desc,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide:not(.card__video):not(.index__events_article) > .card-likes,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide:not(.card__video):not(.index__events_article) > .card-user,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide:not(.card__video):not(.index__events_article) > .card-stars__wrapper {
  flex: 0 0 auto !important;
  margin-top: 0 !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide:not(.card__video):not(.index__events_article) > .card-desc {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-height: none !important;
  min-height: 0 !important;
}

/* Video: media locked to 3:4 */
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide.card__video {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  align-self: stretch !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide.card__video > .card__media-wrap,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide.card__video > .card-img-wrap {
  aspect-ratio: 3 / 4 !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide.card__video > .card__media-wrap img,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide.card__video > .card__media-wrap video,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide.card__video > .card-img-wrap img,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide.card__video > .card-img-wrap video,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide.card__video .card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide.card__video > .card-desc,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide.card__video > .card-likes,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide.card__video > .card-user {
  flex: 0 0 auto !important;
  margin-top: 0 !important;
}

/* Same white gap as the index feed: rating and activity sit under the video, not on it. */
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post > .card.user-slide.card__video > .card-stars__wrapper {
  flex: 0 0 auto !important;
  margin: 12px 0 10px !important;
  padding: 0 12px !important;
  max-height: none !important;
  overflow: visible !important;
  background: #fff !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Curator advice: same height as the post row */
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post.index__post_curator-advice {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
}

.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post.index__post_curator-advice > .card.card__advice,
.tabs__content_right--entity-page .tabs__content_pet[data-target="last"] > .index__posts > .index__post.index__post_curator-advice > .card.card__advice.card__advice_has-link {
  --advice-card-min-h: 0 !important;
  flex: 1 1 auto !important;
  align-self: stretch !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
}

/* End */


/* Start:/local/templates/cotinder/css/cotinder-detail-stars-stack-1280.css?17867858142316*/
/**
 * 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;
  }
}

/* End */


/* Start:/local/templates/cotinder/css/cotinder-layout-1280-only.css?17867858147164*/
/**
 * Layout audit fixes — ranged (not exact-1280 only).
 * 1) Leftover mobile rail chrome — desktop band 1200–1280
 * 2) Home search row — 320–1024
 * 3) /personal/pets/ level badge vs scroll chip — ≤1279
 * 4) Feed text clamp + scroll anchors clear of cards — ≤1279
 *
 * Rail on phones/tablets ≤1199 stays (site nav). We only kill leftovers
 * where desktop chrome already exists (≥1200).
 * Marker: layoutaudit20260814h
 */

/* -------------------------------------------------------------------------- */
/* 1) Leftover rail / overlay on near-desktop (desktop nav already present)   */
/* -------------------------------------------------------------------------- */
@media (min-width: 1200px) and (max-width: 1280.98px) {
  .cotinder-mnav--site,
  .header-mobile__overlay,
  .header-mobile__drop {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
  }

  body.cotinder-mnav-mobile .main,
  body.cotinder-mnav-mobile.cotinder-mnav-has-site:not(.cotinder-mnav-personal) .main,
  body.cotinder-mnav-mobile:not(.cotinder-mnav-personal) .main__index,
  body.cotinder-mnav-mobile:not(.cotinder-mnav-personal) .main > .index,
  body.cotinder-mnav-mobile:not(.cotinder-mnav-personal) .main > .container:not(:has(.tabs__content_layout)):not(:has(.person__form)),
  body.cotinder-mnav-mobile.cotinder-mnav-personal .person__form {
    padding-left: 0 !important;
  }
}

/* -------------------------------------------------------------------------- */
/* 2) Home «Выбери ленту» search — 320–1024                                   */
/* Culprit: .index__search_input { min-width: 700px } until ≤700 override.    */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .main__index .index__search,
  .main .index__search {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px 16px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .main__index .index__search_title,
  .main .index__search_title {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  .main__index .index__search_wrapper,
  .main .index__search_wrapper {
    position: relative !important;
    flex: 1 1 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .main__index .index__search_input,
  .main .index__search_input {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-right: 148px !important;
  }

  .main__index .index__search_wrapper .btn__search,
  .main .index__search_wrapper .btn__search {
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    max-width: calc(100% - 16px) !important;
  }
}

@media (max-width: 575.98px) {
  .main__index .index__search,
  .main .index__search {
    flex-direction: column !important;
    align-items: stretch !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    gap: 10px !important;
  }

  .main__index .index__search_title,
  .main .index__search_title {
    font-size: 20px !important;
    max-width: 100% !important;
  }

  .main__index .index__search_input,
  .main .index__search_input {
    height: 52px !important;
    font-size: 16px !important;
    line-height: 20px !important;
    padding-left: 16px !important;
    padding-right: 118px !important;
  }

  .main__index .index__search_input::placeholder,
  .main .index__search_input::placeholder {
    font-size: 16px !important;
    line-height: 20px !important;
  }

  .main__index .index__search_wrapper .btn__search,
  .main .index__search_wrapper .btn__search {
    font-size: 14px !important;
    gap: 6px !important;
  }
}

/* -------------------------------------------------------------------------- */
/* 3) ЛК pets: level badge readable; not crushed by mid-right scroll chip     */
/* -------------------------------------------------------------------------- */
@media (max-width: 1279.98px) {
  .person__form .post-form__line {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px 12px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* One clear zone for mid-right ↑↓; shrink flex kids so badge cannot spill */
  .person__form-content.pet-accounts {
    padding-right: 76px !important;
    box-sizing: border-box !important;
  }

  .person__form-content.pet-accounts .post-form__flex.person__form_avatar,
  .person__form-content.pet-accounts .post-form__wrapper {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .person__form .post-form__line .cotinder-level-badge {
    position: relative !important;
    z-index: 2 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .person__form .post-form__flex.person__form_avatar {
    position: relative !important;
  }
}

/* -------------------------------------------------------------------------- */
/* 4) Scroll anchors clear of cards + feed desc less clipped                  */
/* -------------------------------------------------------------------------- */
@media (max-width: 1279.98px) {
  /* Beat mid-right body.cotinder-mnav-mobile (0,2,1) with (0,3,1)+ */
  body.cotinder-mnav-mobile.cotinder-mnav-has-site .footer__scroll-anchors,
  body.cotinder-mnav-mobile.cotinder-cookie-banner-open .footer__scroll-anchors,
  body.page-index.cotinder-mnav-mobile .footer__scroll-anchors,
  html.cotinder-in-pwa body.cotinder-mnav-mobile .footer__scroll-anchors {
    right: max(
      28px,
      env(safe-area-inset-right, 0px),
      calc(100vw - 100dvw + 28px)
    ) !important;
  }

  .footer__scroll-anchors {
    right: max(
      28px,
      env(safe-area-inset-right, 0px),
      calc(100vw - 100dvw + 28px)
    ) !important;
  }

  .index__post .card.user-slide:not(.index__events_event):not(.index__events_article):not(.index__collaborations_card):not(.index__community-card) > .card-desc,
  .index__posts .card.user-slide > .card-desc,
  .index__post .card__video > .card-desc {
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    overflow: hidden !important;
  }
}

/* End */


/* Start:/local/templates/cotinder/css/cotinder-pet-engage-strip.css?17871647642371*/
/* Pet detail: engage strip under photo — always loaded (not only via cotinder-engage.css for auth) */
.pet-engage-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(160deg, #f3f7f2, #fff8f1);
  border: 1px solid rgba(47, 107, 79, 0.14);
}

.pet-engage-strip__vital {
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(100%, 150px);
}

.pet-engage-strip__label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #2f6b4f;
  margin-bottom: 2px;
}

.pet-engage-strip__vital strong {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
}

.pet-engage-strip .cotinder-engage__bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.pet-engage-strip .cotinder-engage__bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2f6b4f, #6aa884);
  border-radius: inherit;
}

/* Kill global custom.css ul li bullet + padding inside badge row */
.pet-engage-strip__badges > li::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}

.pet-engage-strip__badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.pet-engage-strip__badges li {
  flex: 0 0 auto;
  position: static;
  padding-left: 0;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pet-engage-strip__link {
  font-size: 13px;
  font-weight: 600;
  color: #2f6b4f;
  white-space: nowrap;
  flex: 0 0 auto;
}

.pet-engage-strip > .cotinder-boost-card__title-ribbon {
  position: static;
  left: auto;
  bottom: auto;
  z-index: auto;
  margin: 0;
  flex: 1 1 100%;
  max-width: 100%;
  white-space: normal;
  line-height: 1.25;
  box-shadow: none;
  background: rgba(253, 119, 40, 0.16);
}

@media (min-width: 1200px) {
  .pet-engage-strip__vital {
    max-width: min(100%, 180px);
  }
}

@media (max-width: 900px) {
  .pet-engage-strip {
    padding: 10px;
  }
}

/* End */


/* Start:/local/templates/cotinder/css/cotinder-feed-video-author.css?17865291051084*/
/**
 * Feed video posts only: author chip as a layer on the media surface,
 * just above the white rating plaque (stars stay below media).
 * Does not affect photo posts.
 */
.card.card__video > .card__media-wrap {
  position: relative;
}

.card.card__video > .card__media-wrap > .card-video-author {
  position: absolute;
  left: 12px;
  right: auto;
  bottom: 12px;
  z-index: 5;
  width: max-content;
  max-width: calc(100% - 24px);
  margin: 0;
  pointer-events: auto;
}

/* Do not inherit full-bleed media <a> (inset:0) from .card__video > .card__media-wrap > a */
.card.card__video > .card__media-wrap > .card-video-author > a {
  display: inline-block;
  position: static;
  inset: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  text-decoration: none;
  color: inherit;
}

.card.card__video > .card__media-wrap .card-user.card-user--on-video {
  margin-bottom: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.card.card__video > .card__media-wrap .card-user.card-user--on-video .user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* End */


/* Start:/local/templates/cotinder/css/cotinder-sales-hint.css?1793276277394*/
.sw-sale-hint {
  box-sizing: border-box;
  max-width: 100%;
  margin: 12px 0 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff8f0;
  color: #2d3436;
  font-family: "Nunito Sans", Nunito, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}
.sw-sale-hint p { margin: 0 0 8px; }
.sw-sale-hint p:last-child { margin: 0; }
.sw-sale-hint a { color: #9a4b12; font-weight: 700; }

/* End */
/* /local/templates/cotinder/css/cotinder-pet-profile-extras.css?17912662166477 */
/* /local/templates/cotinder/css/cotinder-pet-seo-surface.css?17955297082087 */
/* /local/templates/cotinder/css/cotinder-pet-detail-posts-media-gap-1800.css?17867858144881 */
/* /local/templates/cotinder/css/cotinder-entity-feed-banner-embed.css?17867858142526 */
/* /local/templates/cotinder/css/cotinder-entity-posts-equal-height.css?179066111310825 */
/* /local/templates/cotinder/css/cotinder-detail-stars-stack-1280.css?17867858142316 */
/* /local/templates/cotinder/css/cotinder-layout-1280-only.css?17867858147164 */
/* /local/templates/cotinder/css/cotinder-pet-engage-strip.css?17871647642371 */
/* /local/templates/cotinder/css/cotinder-feed-video-author.css?17865291051084 */
/* /local/templates/cotinder/css/cotinder-sales-hint.css?1793276277394 */
