.rental-intro {
  color: #aabaca;
  line-height: 1.5;
  margin: 0 0 18px;
}
.rental-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.rental-preview-head h3 {
  margin: 0;
}
.rental-all {
  color: #61d9f5;
  font-weight: 800;
  text-decoration: none;
}
.rental-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.rental-card {
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(140deg, #202227, #202227);
  border: 1px solid #2b4156;
  border-radius: 16px;
  color: #f7fafc;
}
.rental-photo {
  height: 170px;
  position: relative;
  background-image: url('rental-interiors.webp');
  background-size: 200% 200%;
  background-repeat: no-repeat;
}
.rental-photo[data-view='0'] {
  background-position: left top;
}
.rental-photo[data-view='1'] {
  background-position: right top;
}
.rental-photo[data-view='2'] {
  background-position: left bottom;
}
.rental-photo[data-view='3'] {
  background-position: right bottom;
}
.rental-photo span {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 20px;
  background: #202227e8;
  color: #8de9ff;
  font-size: 12px;
  font-weight: 800;
}
.rental-body {
  padding: 15px;
}
.rental-body h3 {
  font-size: 16px;
  line-height: 1.3;
  min-height: 42px;
  margin: 0 0 8px;
}
.rental-place {
  color: #a9b9c8;
  font-size: 13px;
  margin: 0 0 13px;
}
.rental-facts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 11px 0;
  border-top: 1px solid #ffffff1b;
  border-bottom: 1px solid #ffffff1b;
  color: #d6e1e9;
  font-size: 12px;
}
.rental-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  padding-top: 13px;
}
.rental-price {
  font-weight: 900;
  color: #ffbb25;
  font-size: 18px;
}
.rental-price small {
  font-size: 11px;
  color: #b8c7d2;
  font-weight: 500;
}
.rental-card button,
.rental-primary {
  border: 1px solid #2dc7e6;
  border-radius: 9px;
  background: #202227;
  color: #8deaff;
  cursor: pointer;
  font-weight: 800;
  padding: 9px 11px;
}
.rental-card button:hover,
.rental-primary:hover {
  background: #202227;
}
.rental-note {
  font-size: 12px;
  color: #9bacb9;
  margin: 12px 0 0;
}
.rental-page {
  max-width: 1220px;
  margin: auto;
  padding: 28px 20px 70px;
}
.rental-back {
  color: #86def1;
  text-decoration: none;
  font-weight: 750;
}
.rental-page h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 24px 0 8px;
}
.rental-search {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
  padding: 18px;
  border: 1px solid #2c5269;
  border-radius: 16px;
  background: #202227;
  margin: 24px 0;
}
.rental-search label {
  display: grid;
  gap: 7px;
  color: #d1dce5;
  font-size: 13px;
  font-weight: 700;
}
.rental-search input,
.rental-search select {
  font: inherit;
  background: #202227;
  color: #fff;
  border: 1px solid #426178;
  border-radius: 9px;
  padding: 10px;
  min-height: 42px;
}
.rental-search button {
  min-height: 42px;
}
.rental-mode {
  display: flex;
  gap: 7px;
  align-items: center;
}
.rental-mode label {
  display: flex;
  gap: 6px;
  align-items: center;
  border: 1px solid #426178;
  border-radius: 9px;
  padding: 10px;
  min-height: 42px;
}
.rental-mode input {
  min-height: 0;
}
.rental-count {
  color: #adc1ce;
  margin: 0 0 16px;
}
.rental-dialog {
  max-width: 610px;
  width: calc(100% - 32px);
  background: #202227;
  color: #fff;
  border: 1px solid #46829b;
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 24px 90px #000a;
}
.rental-dialog::backdrop {
  background: #202227bd;
}
.rental-dialog .rental-photo {
  height: 245px;
}
.rental-dialog-content {
  padding: 22px;
}
.rental-dialog-content h2 {
  margin: 0 0 10px;
}
.rental-dialog-content p {
  color: #bdcbd5;
  line-height: 1.5;
}
.rental-dialog-close {
  float: right;
  margin: 10px;
  position: relative;
  z-index: 1;
  background: #202227;
  color: white;
  border: 0;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
}
.rental-empty {
  color: #b8c8d3;
}
@media (max-width: 1000px) {
  .rental-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 580px) {
  .rental-grid {
    grid-template-columns: 1fr;
  }
  .rental-photo {
    height: 190px;
  }
  .rental-page {
    padding: 18px 14px 50px;
  }
}
.rental-app {
  margin: 0;
  background: radial-gradient(circle at 80% 20%, #202227 0, #202227 48%, #202227 100%);
  color: #f6f8ff;
  font:
    14px/1.45 Arial,
    sans-serif;
  min-height: 100vh;
}
.rental-app * {
  box-sizing: border-box;
}
.rental-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: 174px;
  background: #202227;
  border-right: 1px solid #ffffff12;
  padding: 20px 11px;
  z-index: 5;
}
.rental-brand {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  column-gap: 4px;
  text-decoration: none;
  color: white;
  font-size: 14px;
  padding: 5px 0 21px;
  border-bottom: 1px solid #ffffff12;
}
.rental-mark {
  color: #995df8;
}
.rental-brand small {
  grid-column: 1/-1;
  color: #9ba5b5;
  font-size: 9px;
  margin-left: 2px;
}
.rental-nav-label {
  color: #778391;
  font-size: 10px;
  font-weight: 800;
  margin: 23px 0 9px;
}
.rental-nav > a:not(.rental-brand) {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 7px;
  text-decoration: none;
  color: #cbd4e0;
  border-radius: 8px;
  font-weight: 650;
  font-size: 12px;
}
.rental-nav > a.active,
.rental-nav > a:not(.rental-brand):hover {
  color: #39d4ed;
  background: #202227;
}
.rental-main {
  margin-left: 174px;
}
.rental-top {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #ffffff17;
  background: #202227ad;
  padding: 0 34px;
}
.rental-top-search {
  width: min(360px, 60%);
  padding: 10px 15px;
  border: 1px solid #ffffff20;
  border-radius: 12px;
  background: #ffffff0a;
  color: #8192a6;
}
.rental-top-search b {
  color: #d6e0ea;
}
.rental-top-back {
  color: #c6d5e6;
  text-decoration: none;
}
.rental-mobile-brand {
  display: none;
}
.rental-page {
  max-width: none;
  padding: 25px 32px 70px;
  margin: 0;
}
.rental-page-heading {
  margin: 0 0 24px;
}
.rental-page-heading h1 {
  font-size: clamp(25px, 3vw, 34px);
  margin: 3px 0 6px;
}
.rental-page-heading p {
  margin: 0;
  color: #aebbd0;
}
.rental-page-heading .rental-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #8c5ef4;
}
.rental-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.rental-filter {
  border: 1px solid #344056;
  background: #202227e8;
  border-radius: 16px;
  padding: 19px;
}
.rental-filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ffffff25;
  margin-bottom: 16px;
}
.rental-filter-title strong {
  font-size: 17px;
  color: #a580fb;
}
.rental-filter-title button {
  border: 0;
  background: none;
  color: #9eabba;
  cursor: pointer;
  font-size: 11px;
}
.rental-field {
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
}
.rental-field > span {
  font-size: 10px;
  color: #a280ff;
  font-weight: 800;
  letter-spacing: 0.07em;
}
.rental-fixed-city,
.rental-field input,
.rental-field select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #303e55;
  border-radius: 9px;
  background: #202227;
  color: #fff;
  padding: 10px;
  font: inherit;
}
.rental-mode {
  display: flex;
  gap: 6px;
  margin: 0 0 16px;
}
.rental-mode label {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  min-height: 38px;
  border: 1px solid #344259;
  border-radius: 9px;
  font-size: 12px;
  cursor: pointer;
  color: #b5c1ce;
}
.rental-mode label:has(input:checked) {
  border-color: #9e6bfd;
  background: #202227;
  color: white;
}
.rental-mode input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.rental-mode span {
  white-space: nowrap;
}
.rental-filter .rental-primary {
  width: 100%;
  border: 0;
  background: linear-gradient(110deg, #202227, #202227);
  color: white;
  min-height: 46px;
  border-radius: 28px;
  box-shadow: 0 8px 25px #20222744;
}
.rental-results {
  min-width: 0;
}
.rental-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.rental-chips button {
  border: 1px solid #2c4058;
  border-radius: 22px;
  background: #202227;
  color: #b9c8d8;
  padding: 8px 13px;
  cursor: pointer;
  font-size: 12px;
}
.rental-chips button.active {
  background: #202227;
  color: #7ce5f4;
  border-color: #2ca5c9;
}
.rental-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
}
.rental-toolbar p {
  margin: 0;
  font-weight: 800;
  color: #dbe5ed;
}
.rental-toolbar label {
  color: #aab9cb;
  font-size: 12px;
}
.rental-toolbar select {
  background: #202227;
  color: #fff;
  border: 1px solid #31425b;
  border-radius: 8px;
  padding: 8px;
}
.rental-catalog-note {
  font-size: 12px;
  color: #a8b7c8;
  margin: 0 0 16px;
}
.rental-results .rental-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.rental-results .rental-photo {
  height: 150px;
}
.rental-results .rental-body {
  padding: 14px;
}
.rental-results .rental-card {
  background: linear-gradient(140deg, #202227, #202227);
}
.rental-results .rental-body h3 {
  font-size: 14px;
  min-height: 38px;
}
.rental-results .rental-foot {
  flex-wrap: wrap;
}
.rental-results .rental-price {
  font-size: 16px;
}
.rental-results .rental-card button {
  font-size: 11px;
  padding: 7px 8px;
}
@media (max-width: 1350px) {
  .rental-results .rental-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1080px) {
  .rental-results .rental-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 780px) {
  .rental-nav {
    display: none;
  }
  .rental-main {
    margin-left: 0;
  }
  .rental-mobile-brand {
    display: block;
    color: white;
    text-decoration: none;
    font-weight: 900;
  }
  .rental-top {
    padding: 0 16px;
  }
  .rental-page {
    padding: 20px 15px 50px;
  }
  .rental-layout {
    grid-template-columns: 1fr;
  }
  .rental-filter {
    padding: 15px;
  }
  .rental-filter form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
  }
  .rental-filter-title,
  .rental-filter .rental-primary {
    grid-column: 1/-1;
  }
  .rental-field,
  .rental-mode {
    margin: 0;
  }
}
@media (max-width: 520px) {
  .rental-top-search {
    display: none;
  }
  .rental-filter form {
    grid-template-columns: 1fr;
  }
  .rental-results .rental-grid {
    grid-template-columns: 1fr;
  }
  .rental-results .rental-photo {
    height: 190px;
  }
  .rental-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
.rental-results .rental-card {
  display: flex;
  flex-direction: column;
}
.rental-results .rental-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.rental-results .rental-foot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
  align-items: stretch;
}
.rental-results .rental-price {
  white-space: nowrap;
}
.rental-results .rental-card button {
  width: 100%;
  min-height: 36px;
}
.rental-preview-head + .rental-intro + .rental-grid .rental-card {
  display: flex;
  flex-direction: column;
}
.rental-preview-head + .rental-intro + .rental-grid .rental-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.rental-preview-head + .rental-intro + .rental-grid .rental-foot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
}
.rental-preview-head + .rental-intro + .rental-grid .rental-card button {
  width: 100%;
}
