/*
 * Lakeeva Realty
 * Rental
 */


/* Property photo actions */

.details-gallery__actions {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 8;

  display: flex;
  align-items: center;
  gap: 9px;

  pointer-events: auto;
}

.details-gallery__action {
  display: grid;
  place-items: center;

  width: 46px;
  height: 46px;
  padding: 0;

  border:
    1px solid
    rgba(255, 255, 255, 0.52);
  border-radius: 50%;

  background:
    rgba(9, 38, 30, 0.66);
  color: #ffffff;

  box-shadow:
    0 8px 24px
    rgba(0, 0, 0, 0.24);

  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);

  cursor: pointer;
  touch-action: manipulation;

  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}

.details-gallery__action svg {
  width: 21px;
  height: 21px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.details-gallery__action:active {
  transform: scale(0.92);
}

.details-gallery__action--favorite.is-favorite {
  background:
    rgba(255, 255, 255, 0.96);
  color: #b7333f;
}

.details-gallery__action--favorite.is-favorite svg {
  fill: currentColor;
}

.details-gallery__action.is-pending {
  opacity: 0.55;
  cursor: wait;
}

@media (max-width: 640px) {
  .details-gallery__actions {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .details-gallery__action {
    width: 43px;
    height: 43px;
  }
}


/* Rental page */

body[data-client-screen="rental"] {
  background: #f5f2eb;
}


/* HERO */

body[data-client-screen="rental"] .hero {
  min-height: 378px;

  padding:
    max(
      126px,
      calc(
        var(--ios-content-safe-top) +
        52px
      )
    )
    18px
    108px;

  overflow: hidden;

  border-radius: 0 0 32px 32px;

  background:
    linear-gradient(
      180deg,
      rgba(1, 22, 17, 0.08) 0%,
      rgba(1, 25, 19, 0.18) 42%,
      rgba(1, 25, 19, 0.78) 100%
    ),
    url("/assets/lakeeva-rental-hero.webp")
      center 57% / cover
      no-repeat;

  box-shadow:
    0 18px 46px
    rgba(2, 31, 23, 0.18);
}

body[data-client-screen="rental"]
.hero::after {
  display: none;
}

body[data-client-screen="rental"]
.hero__top {
  top:
    max(
      88px,
      calc(
        var(--ios-content-safe-top) +
        14px
      )
    );

  right: 18px;
  left: 18px;
}

body[data-client-screen="rental"]
.hero__top::before {
  color: #ffffff;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Helvetica Neue",
    Arial,
    sans-serif !important;

  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

body[data-client-screen="rental"]
.hero__content {
  width: min(100%, 480px);
}

body[data-client-screen="rental"]
.hero__content::before {
  width: 29px;
  height: 2px;

  margin-bottom: 13px;

  background: #e8c98f;
}

body[data-client-screen="rental"]
.hero__content h1 {
  max-width: 440px;

  margin: 0;

  color: #ffffff;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Helvetica Neue",
    Arial,
    sans-serif !important;

  font-size:
    clamp(31px, 8.2vw, 43px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.052em;

  text-wrap: balance;
}

body[data-client-screen="rental"]
.hero__content p {
  max-width: 390px;

  margin: 15px 0 0;

  color:
    rgba(255, 255, 255, 0.78);

  font-size: 14px;
  font-weight: 450;
  line-height: 1.48;
  letter-spacing: -0.012em;
}


/* ОБЩИЙ КОНТЕЙНЕР */

body[data-client-screen="rental"]
> main {
  display: flex;
  flex-direction: column;

  width: min(
    calc(100% - 18px),
    960px
  );

  margin: -70px auto 0;

  padding:
    0 0
    calc(
      var(--client-content-bottom) +
      18px
    );
}


/* ФОРМА */

body[data-client-screen="rental"]
.search-panel {
  order: 1;

  padding: 16px;

  border:
    1px solid
    rgba(7, 53, 42, 0.07);
  border-radius: 25px;

  background:
    rgba(255, 255, 255, 0.97);

  box-shadow:
    0 18px 44px
    rgba(2, 32, 23, 0.14);

  -webkit-backdrop-filter:
    blur(22px)
    saturate(130%);
  backdrop-filter:
    blur(22px)
    saturate(130%);
}

body[data-client-screen="rental"]
.search-panel::before {
  display: none;
}

.rental-search-heading {
  display: grid;
  gap: 2px;

  margin: 0 2px 14px;
}

.rental-search-heading span {
  color: #8d806d;

  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rental-search-heading strong {
  color: #07352a;

  font-size: 18px;
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

body[data-client-screen="rental"]
#search-form {
  display: grid;
  gap: 10px;
}

body[data-client-screen="rental"]
.field-grid {
  gap: 9px;
}

body[data-client-screen="rental"]
.field span,
body[data-client-screen="rental"]
.date-range-field__label {
  margin: 0 0 6px 2px;

  color: #657067;

  font-size: 10.5px;
  font-weight: 620;
}

body[data-client-screen="rental"]
.date-range-button,
body[data-client-screen="rental"]
.field input,
body[data-client-screen="rental"]
.field select {
  min-height: 49px;

  border:
    1px solid
    rgba(7, 53, 42, 0.1);
  border-radius: 14px;

  background: #f8f6f0;
  color: #07352a;

  box-shadow:
    inset 0 1px 0
    rgba(255, 255, 255, 0.82);
}

body[data-client-screen="rental"]
.date-range-button {
  padding: 7px 12px;
}

body[data-client-screen="rental"]
.date-range-button__icon {
  width: 32px;
  height: 32px;

  flex: 0 0 32px;

  border-radius: 10px;

  background:
    rgba(7, 53, 42, 0.075);
}

body[data-client-screen="rental"]
.date-range-button__content strong {
  font-size: 14px;
  font-weight: 650;
}

body[data-client-screen="rental"]
.date-range-button__content small {
  color: #91897d;

  font-size: 10.5px;
}

body[data-client-screen="rental"]
.bedrooms-range {
  gap: 8px;
}

body[data-client-screen="rental"]
.search-button {
  min-height: 50px;

  margin-top: 2px;

  border-radius: 14px;

  background:
    linear-gradient(
      140deg,
      #073a2d,
      #0d4c3c
    );

  box-shadow:
    0 10px 24px
    rgba(3, 48, 36, 0.2);

  font-size: 14px;
  font-weight: 660;

  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

body[data-client-screen="rental"]
.search-button:active {
  transform: scale(0.985);

  box-shadow:
    0 6px 15px
    rgba(3, 48, 36, 0.17);
}


/* ПОПУЛЯРНЫЕ РАЙОНЫ */

.popular-areas {
  order: 2;

  margin-top: 27px;

  opacity: 0;
  transform: translateY(12px);

  transition:
    opacity 420ms ease,
    transform 520ms
      cubic-bezier(0.22, 1, 0.36, 1);
}

.popular-areas.is-ready {
  opacity: 1;
  transform: none;
}

.popular-areas__header {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  margin: 0 4px 13px;
}

.popular-areas__header > div {
  display: grid;
  gap: 3px;
}

.popular-areas__header > div > span {
  color: #8c8173;

  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.popular-areas__header h2 {
  margin: 0;

  color: #07352a;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Helvetica Neue",
    Arial,
    sans-serif !important;

  font-size: 23px;
  font-weight: 730;
  line-height: 1.1;
  letter-spacing: -0.042em;
}

.popular-areas__hint {
  padding-bottom: 2px;

  color: #968d81;

  font-size: 10px;
  font-weight: 550;
}

.popular-areas__scroller {
  display: flex;
  gap: 11px;

  margin-right: -9px;
  padding:
    0 9px 8px 0;

  overflow-x: auto;

  scroll-snap-type: x mandatory;
  scrollbar-width: none;

  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.popular-areas__scroller::-webkit-scrollbar {
  display: none;
}

.popular-area-card {
  position: relative;

  width: 158px;
  min-width: 158px;
  height: 212px;

  padding: 0;

  overflow: hidden;

  border:
    1px solid
    rgba(7, 53, 42, 0.08);
  border-radius: 22px;

  background: #d6d1c8;

  box-shadow:
    0 12px 29px
    rgba(4, 38, 29, 0.12);

  scroll-snap-align: start;

  transition:
    transform 190ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.popular-area-card:active {
  transform: scale(0.975);
}

.popular-area-card.is-active {
  border-color:
    rgba(205, 170, 106, 0.96);

  box-shadow:
    0 0 0 2px
      rgba(205, 170, 106, 0.22),
    0 16px 34px
      rgba(4, 38, 29, 0.17);
}

.popular-area-card img {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 650ms
    cubic-bezier(0.22, 1, 0.36, 1);
}

.popular-area-card:active img,
.popular-area-card.is-active img {
  transform: scale(1.045);
}

.popular-area-card__shade {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(1, 25, 19, 0.01) 18%,
      rgba(1, 25, 19, 0.15) 53%,
      rgba(1, 23, 18, 0.84) 100%
    );
}

.popular-area-card__content {
  position: absolute;

  right: 13px;
  bottom: 13px;
  left: 13px;

  display: grid;
  gap: 3px;

  color: #ffffff;
  text-align: left;
}

.popular-area-card__content strong {
  font-size: 15px;
  font-weight: 690;
  line-height: 1.14;
  letter-spacing: -0.028em;
}

.popular-area-card__content small {
  color:
    rgba(255, 255, 255, 0.72);

  font-size: 10px;
  font-weight: 550;
}


/* Пока сохраняем порядок остальных секций */

body[data-client-screen="rental"]
.results-section {
  order: 3;
}

body[data-client-screen="rental"]
.map-section {
  order: 4;
}


/* МОБИЛЬНЫЕ ЭКРАНЫ */

@media (max-width: 390px) {
  body[data-client-screen="rental"]
  .hero {
    min-height: 364px;

    padding-right: 16px;
    padding-left: 16px;

    background-position: center 55%;
  }

  body[data-client-screen="rental"]
  .hero__top {
    right: 16px;
    left: 16px;
  }

  body[data-client-screen="rental"]
  .hero__content h1 {
    max-width: 355px;

    font-size: 32px;
  }

  body[data-client-screen="rental"]
  .hero__content p {
    max-width: 330px;

    font-size: 13.5px;
  }

  body[data-client-screen="rental"]
  > main {
    width: calc(100% - 16px);

    margin-top: -62px;
  }

  body[data-client-screen="rental"]
  .search-panel {
    padding: 14px;

    border-radius: 23px;
  }

  .popular-area-card {
    width: 150px;
    min-width: 150px;
    height: 202px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .popular-areas,
  .popular-area-card,
  .popular-area-card img {
    transition: none;
  }
}

body[data-client-screen="rental"]
.map-section[hidden],
body[data-client-screen="rental"]
.results-section[hidden] {
  display: none !important;
}


/* После поиска: сначала карта */

body[data-client-screen="rental"]
.map-section {
  order: 3;

  margin-top: 28px;

  scroll-margin-top: 94px;
}

body[data-client-screen="rental"]
.map-header {
  margin: 0 4px 13px;
}

body[data-client-screen="rental"]
.map-header h2 {
  margin: 0;

  color: #07352a;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Helvetica Neue",
    Arial,
    sans-serif !important;

  font-size: 23px;
  font-weight: 730;
  letter-spacing: -0.042em;
}

body[data-client-screen="rental"]
.map-shell {
  overflow: hidden;

  min-height: 310px;

  border:
    1px solid
    rgba(7, 53, 42, 0.07);
  border-radius: 23px;

  background: #e7e4dc;

  box-shadow:
    0 13px 31px
    rgba(3, 40, 30, 0.11);
}

body[data-client-screen="rental"]
#map {
  min-height: 310px;
}


/* Затем карточки выдачи */

body[data-client-screen="rental"]
.results-section {
  order: 4;

  margin-top: 28px;
}

body[data-client-screen="rental"]
.results-header {
  align-items: flex-end;

  margin: 0 4px 13px;
}

body[data-client-screen="rental"]
.results-header h2 {
  margin: 0;

  color: #07352a;

  font-size: 23px;
  font-weight: 730;
  letter-spacing: -0.042em;
}

body[data-client-screen="rental"]
.results-count {
  color: #8c8377;

  font-size: 11px;
  font-weight: 600;
}

body[data-client-screen="rental"]
.results {
  display: grid;
  gap: 12px;
}


/* Горизонтальная карточка как в продаже */

body[data-client-screen="rental"]
.property-card {
  display: grid;

  grid-template-columns:
    minmax(132px, 41%)
    minmax(0, 59%);

  min-height: 188px;

  overflow: hidden;

  border:
    1px solid
    rgba(7, 53, 42, 0.07);
  border-radius: 22px;

  background: #ffffff;

  box-shadow:
    0 12px 30px
    rgba(3, 40, 30, 0.1);

  animation:
    lakeevaRentalCardIn
    460ms
    cubic-bezier(0.22, 1, 0.36, 1)
    both;
}

body[data-client-screen="rental"]
.property-card > .gallery-slider {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 188px;

  border-radius: 0;
}

body[data-client-screen="rental"]
.property-card .gallery-track,
body[data-client-screen="rental"]
.property-card .gallery-slide {
  height: 100%;
  min-height: 188px;
}

body[data-client-screen="rental"]
.property-card .gallery-slide img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

body[data-client-screen="rental"]
.property-card [data-slider-prev],
body[data-client-screen="rental"]
.property-card [data-slider-next] {
  display: none;
}

body[data-client-screen="rental"]
.property-card .gallery-counter {
  right: 8px;
  bottom: 8px;
  left: auto;

  padding: 4px 7px;

  border-radius: 9px;

  background:
    rgba(2, 31, 24, 0.7);
  color: #ffffff;

  font-size: 9px;

  -webkit-backdrop-filter:
    blur(12px);
  backdrop-filter:
    blur(12px);
}

body[data-client-screen="rental"]
.property-card__body {
  display: flex;
  flex-direction: column;

  min-width: 0;

  padding: 14px 13px 12px;
}

body[data-client-screen="rental"]
.property-card__location {
  overflow: hidden;

  color: #877b69;

  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-client-screen="rental"]
.property-card h3 {
  display: -webkit-box;

  margin: 6px 0 9px;

  overflow: hidden;

  color: #082f25;

  font-size: 15px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.028em;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body[data-client-screen="rental"]
.property-card__facts {
  display: flex;
  gap: 5px;

  flex-wrap: wrap;
}

body[data-client-screen="rental"]
.property-card__facts .fact {
  padding: 5px 7px;

  border:
    1px solid
    rgba(7, 53, 42, 0.07);
  border-radius: 9px;

  background: #f6f3ed;
  color: #5e675f;

  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}

body[data-client-screen="rental"]
.property-card__footer {
  display: grid;
  gap: 6px;

  margin-top: auto;
  padding-top: 9px;
}

body[data-client-screen="rental"]
.price-button {
  min-height: 35px;

  padding: 8px 9px;

  border: 0;
  border-radius: 11px;

  background:
    linear-gradient(
      140deg,
      #073a2d,
      #0c4a3a
    );

  color: #ffffff;

  font-size: 10.5px;
  font-weight: 650;

  box-shadow:
    0 7px 16px
    rgba(3, 48, 36, 0.16);
}

body[data-client-screen="rental"]
.details-link {
  color: #817668;

  font-size: 9.5px;
  font-weight: 600;
  text-align: right;
}

body[data-client-screen="rental"]
.status {
  padding: 18px;

  border:
    1px solid
    rgba(7, 53, 42, 0.07);
  border-radius: 20px;

  background: #ffffff;

  box-shadow:
    0 10px 26px
    rgba(3, 40, 30, 0.08);
}

@keyframes lakeevaRentalCardIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 390px) {
  body[data-client-screen="rental"]
  .property-card {
    grid-template-columns:
      minmax(125px, 40%)
      minmax(0, 60%);

    min-height: 181px;
  }

  body[data-client-screen="rental"]
  .property-card > .gallery-slider,
  body[data-client-screen="rental"]
  .property-card .gallery-track,
  body[data-client-screen="rental"]
  .property-card .gallery-slide {
    min-height: 181px;
  }

  body[data-client-screen="rental"]
  .property-card__body {
    padding: 12px 11px 11px;
  }

  body[data-client-screen="rental"]
  .property-card h3 {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-client-screen="rental"]
  .property-card {
    animation: none;
  }
}

body[data-client-screen="rental"]
.hero__top::before {
  display: none !important;
  content: none !important;
}

body[data-client-screen="rental"]
.property-card {
  display: block;

  min-height: 0;

  overflow: hidden;

  border:
    1px solid
    rgba(9, 38, 30, 0.07);
  border-radius: 22px;

  background: #ffffff;

  box-shadow:
    0 10px 28px
    rgba(9, 38, 30, 0.065);

  cursor: pointer;

  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

body[data-client-screen="rental"]
.property-card:active {
  transform: scale(0.992);
}


/* Фото как в карточках продажи */

body[data-client-screen="rental"]
.property-card > .gallery-slider {
  position: relative;

  width: 100%;
  height: auto;
  min-height: 0;

  aspect-ratio: 16 / 11;

  overflow: hidden;

  border-radius: 0;

  background:
    linear-gradient(
      [object Object],[object Object],[object Object],[object Object]135deg,
      #eeeae1,
      #e2ddd1
    );
}

body[data-client-screen="rental"]
.property-card .gallery-track,
body[data-client-screen="rental"]
.property-card .gallery-slide {
  width: 100%;
  height: 100%;
  min-height: 0;
}

body[data-client-screen="rental"]
.property-card .gallery-slide img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* Обе стрелки — чёрные, без подложки */

body[data-client-screen="rental"]
.property-card [data-slider-prev],
body[data-client-screen="rental"]
.property-card [data-slider-next] {
  position: absolute;
  top: 50%;
  z-index: 5;

  display: grid !important;

  width: 40px;
  height: 48px;

  padding: 0;

  place-items: center;

  border: 0 !important;
  border-radius: 0;

  background: transparent !important;
  color: #000000 !important;

  box-shadow: none !important;

  font-size: 32px;
  font-weight: 500;
  line-height: 1;

  opacity: 0.82;

  transform: translateY(-50%);

  text-shadow:
    0 1px 3px
    rgba(255, 255, 255, 0.85);
}

body[data-client-screen="rental"]
.property-card [data-slider-prev] {
  right: auto !important;
  left: 4px !important;
}

body[data-client-screen="rental"]
.property-card [data-slider-next] {
  right: 4px !important;
  left: auto !important;
}

body[data-client-screen="rental"]
.property-card [data-slider-prev]:active,
body[data-client-screen="rental"]
.property-card [data-slider-next]:active {
  opacity: 1;

  transform:
    translateY(-50%)
    scale(0.92);
}

body[data-client-screen="rental"]
.property-card .gallery-counter {
  right: 12px;
  bottom: 12px;
  left: auto;

  padding: 7px 10px;

  border-radius: 999px;

  background:
    rgba(6, 27, 22, 0.76);
  color: #ffffff;

  font-size: 11px;
  font-weight: 700;
  line-height: 1;

  -webkit-backdrop-filter:
    blur(8px);
  backdrop-filter:
    blur(8px);
}


/* Информация */

body[data-client-screen="rental"]
.property-card__body {
  display: block;

  min-width: 0;

  padding: 16px;
}

body[data-client-screen="rental"]
.property-card__location {
  max-width: 100%;

  margin-bottom: 7px;

  overflow: hidden;

  color: #496d62;

  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.025em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-client-screen="rental"]
.property-card h3 {
  display: -webkit-box;

  min-height: 44px;

  margin: 0 0 12px;

  overflow: hidden;

  color: #09261e;

  font-size: 17px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -0.018em;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-client-screen="rental"]
.property-card__facts {
  display: flex;
  gap: 7px;

  flex-wrap: wrap;
}

body[data-client-screen="rental"]
.property-card__facts .fact {
  padding: 6px 9px;

  border: 0;
  border-radius: 9px;

  background: #f3f0e9;
  color: #31584c;

  font-size: 11px;
}


/* Цена и подробнее в одну строку */

body[data-client-screen="rental"]
.property-card__footer {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 10px;

  margin-top: 15px;
  padding-top: 14px;

  border-top:
    1px solid
    rgba(9, 38, 30, 0.08);
}

body[data-client-screen="rental"]
.price-button {
  flex: 1 1 auto;

  min-width: 0;
  min-height: 42px;

  padding: 10px 14px;

  border: 0;
  border-radius: 12px;

  background: #09261e;
  color: #ffffff;

  font-size: 12px;
  font-weight: 750;
  line-height: 1;

  box-shadow: none;
}

body[data-client-screen="rental"]
.details-link {
  display: grid;

  min-width: 105px;
  min-height: 42px;

  padding: 10px 13px;

  place-items: center;

  border:
    1px solid
    rgba(9, 38, 30, 0.14);
  border-radius: 12px;

  background: #f3f0e9;
  color: #31584c;

  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  text-align: center;
}

@media (max-width: 390px) {
  body[data-client-screen="rental"]
  .property-card {
    display: block;

    min-height: 0;
  }

  body[data-client-screen="rental"]
  .property-card > .gallery-slider,
  body[data-client-screen="rental"]
  .property-card .gallery-track,
  body[data-client-screen="rental"]
  .property-card .gallery-slide {
    min-height: 0;
  }

  body[data-client-screen="rental"]
  .property-card__body {
    padding: 15px;
  }
}

/* Обе реальные стрелки галереи */

body[data-client-screen="rental"]
.property-card .gallery-arrow--previous,
body[data-client-screen="rental"]
.property-card .gallery-arrow--next {
  position: absolute !important;
  top: 50% !important;
  z-index: 8 !important;

  display: grid !important;

  width: 40px !important;
  height: 48px !important;

  padding: 0 !important;

  place-items: center !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;

  color: #000000 !important;

  box-shadow: none !important;
  filter: none !important;

  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;

  font-size: 32px !important;
  font-weight: 500 !important;
  line-height: 1 !important;

  opacity: 0.88 !important;

  transform: translateY(-50%) !important;

  text-shadow: none !important;
}

body[data-client-screen="rental"]
.property-card .gallery-arrow--previous {
  right: auto !important;
  left: 4px !important;
}

body[data-client-screen="rental"]
.property-card .gallery-arrow--next {
  right: 4px !important;
  left: auto !important;
}

body[data-client-screen="rental"]
.property-card .gallery-arrow--previous::before,
body[data-client-screen="rental"]
.property-card .gallery-arrow--previous::after,
body[data-client-screen="rental"]
.property-card .gallery-arrow--next::before,
body[data-client-screen="rental"]
.property-card .gallery-arrow--next::after {
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;

  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body[data-client-screen="rental"]
.property-card .gallery-arrow--previous:active,
body[data-client-screen="rental"]
.property-card .gallery-arrow--next:active {
  opacity: 1 !important;

  transform:
    translateY(-50%)
    scale(0.92) !important;
}


/* Подробнее остаётся обычной текстовой ссылкой */

body[data-client-screen="rental"]
.property-card__footer {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 14px;
}

body[data-client-screen="rental"]
.details-link {
  display: inline !important;

  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;

  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;
  color: #496d62 !important;

  box-shadow: none !important;

  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  text-align: right !important;
  white-space: nowrap;
}

body[data-client-screen="rental"]
.results {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
}

body[data-client-screen="rental"]
.property-card {
  display: grid !important;

  grid-template-columns:
    minmax(138px, 43%)
    minmax(0, 57%);

  width: 100%;
  min-height: 198px;
  max-height: 218px;

  overflow: hidden;

  border-radius: 22px;
}


/* Фото слева */

body[data-client-screen="rental"]
.property-card > .gallery-slider {
  width: 100% !important;
  height: 100% !important;
  min-height: 198px !important;

  aspect-ratio: auto !important;

  border-radius: 0 !important;
}

body[data-client-screen="rental"]
.property-card .gallery-track,
body[data-client-screen="rental"]
.property-card .gallery-slide {
  width: 100%;
  height: 100% !important;
  min-height: 198px !important;
}

body[data-client-screen="rental"]
.property-card .gallery-slide img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* Информация справа */

body[data-client-screen="rental"]
.property-card__body {
  display: flex !important;
  flex-direction: column;

  min-width: 0;

  padding: 14px 13px 13px !important;
}

body[data-client-screen="rental"]
.property-card__location {
  margin-bottom: 5px;

  font-size: 9.5px;
}

body[data-client-screen="rental"]
.property-card h3 {
  min-height: 0;

  margin: 0 0 9px;

  font-size: 14.5px;
  line-height: 1.2;

  -webkit-line-clamp: 3;
}

body[data-client-screen="rental"]
.property-card__facts {
  gap: 5px;
}

body[data-client-screen="rental"]
.property-card__facts .fact {
  padding: 5px 7px;

  font-size: 9px;
}


/* Действия в одной строке */

body[data-client-screen="rental"]
.property-card__footer {
  display: flex !important;

  align-items: center;
  justify-content: space-between;

  gap: 10px;

  margin-top: auto;
  padding-top: 10px;

  border-top:
    1px solid
    rgba(9, 38, 30, 0.08);
}

body[data-client-screen="rental"]
.price-button {
  flex: 1 1 auto;

  width: auto;
  min-width: 0;
  min-height: 36px;

  padding: 8px 10px;

  border-radius: 10px;

  font-size: 10.5px;
  white-space: nowrap;
}

body[data-client-screen="rental"]
.details-link {
  flex: 0 0 auto;

  font-size: 10px !important;
  white-space: nowrap;
}


/* Счётчик фотографий */

body[data-client-screen="rental"]
.property-card .gallery-counter {
  right: 8px;
  bottom: 8px;

  padding: 5px 7px;

  font-size: 9px;
}


/* Мобильная ширина */

@media (max-width: 390px) {
  body[data-client-screen="rental"]
  .property-card {
    grid-template-columns:
      minmax(128px, 42%)
      minmax(0, 58%);

    min-height: 190px;
    max-height: 210px;
  }

  body[data-client-screen="rental"]
  .property-card > .gallery-slider,
  body[data-client-screen="rental"]
  .property-card .gallery-track,
  body[data-client-screen="rental"]
  .property-card .gallery-slide {
    min-height: 190px !important;
  }

  body[data-client-screen="rental"]
  .property-card__body {
    padding: 12px 11px 11px !important;
  }

  body[data-client-screen="rental"]
  .property-card h3 {
    font-size: 13.5px;

    -webkit-line-clamp: 3;
  }

  body[data-client-screen="rental"]
  .price-button {
    padding-right: 8px;
    padding-left: 8px;

    font-size: 10px;
  }

  body[data-client-screen="rental"]
  .details-link {
    font-size: 9.5px !important;
  }
}

.rental-load-more {
  display: block;

  width: min(100%, 330px);
  min-height: 48px;

  margin: 18px auto 0;
  padding: 12px 20px;

  border:
    1px solid
    rgba(9, 38, 30, 0.14);
  border-radius: 14px;

  background: #ffffff;
  color: #09261e;

  box-shadow:
    0 8px 22px
    rgba(9, 38, 30, 0.07);

  font-size: 13px;
  font-weight: 750;

  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.rental-load-more[hidden] {
  display: none !important;
}

.rental-load-more:active {
  transform: scale(0.985);
}

.rental-load-more:disabled {
  cursor: wait;
  opacity: 0.62;
}

.rental-load-more:not([hidden]) {
  display: block !important;

  width: 100%;
  height: 2px;
  min-height: 2px;

  margin: 0;
  padding: 0;

  overflow: hidden;

  border: 0;
  border-radius: 0;

  background: transparent;
  color: transparent;

  box-shadow: none;

  font-size: 0;
  line-height: 0;

  opacity: 0;
  pointer-events: none;
}

.rental-load-more[hidden] {
  display: none !important;
}


/* LAKEEVA_RENTAL_CARD_FOOTER_STACK_V1 */

body[data-client-screen="rental"]
.property-card__footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  gap: 8px !important;
}

body[data-client-screen="rental"]
.property-card__price-stack {
  width: 100% !important;
  min-width: 0 !important;
}

body[data-client-screen="rental"]
.property-card__price-stack
.price-button {
  width: 100% !important;
  max-width: none !important;
}

body[data-client-screen="rental"]
.property-card__footer
.details-link {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 2px 0 0 !important;
  text-align: left !important;
  line-height: 1.35 !important;
}


/* LAKEEVA_QUOTED_CTA_V1 */

body[data-client-screen="rental"]
.property-card__price-stack
.price-button.is-quoted:not(.is-booked) {
  display: grid !important;
  gap: 3px !important;

  min-height: 54px !important;
  padding: 8px 14px !important;

  background:
    linear-gradient(
      135deg,
      #d8b46b,
      #c99d50
    ) !important;

  color: #09261e !important;

  box-shadow:
    0 7px 18px
    rgba(119, 83, 31, 0.18) !important;
}

body[data-client-screen="rental"]
.price-button__amount {
  display: block;

  font-size: 17px;
  font-weight: 800;
  line-height: 1.05;
}

body[data-client-screen="rental"]
.price-button__action {
  display: block;

  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.15;

  opacity: 0.82;
}

body[data-client-screen="rental"]
.property-card__price-stack
.price-button.is-booked {
  background: #eef4f1 !important;
  color: #09261e !important;
  box-shadow: none !important;
}


/* LAKEEVA_RENTAL_CARD_HEIGHT_V1 */

body[data-client-screen="rental"]
.property-card {
  min-height: 228px !important;
  max-height: none !important;
}

body[data-client-screen="rental"]
.property-card__body {
  padding:
    14px
    13px
    18px
    !important;
}

body[data-client-screen="rental"]
.property-card > .gallery-slider,
body[data-client-screen="rental"]
.property-card .gallery-track,
body[data-client-screen="rental"]
.property-card .gallery-slide {
  min-height: 228px !important;
}
