@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #1f2937;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: #2563eb;
  text-decoration: none;
  transition: color 150ms ease;
}
a:hover {
  color: #1d4ed8;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.heading-1 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1f2937;
}
@media (min-width: 768px) {
  .heading-1 {
    font-size: 1.875rem;
  }
}
@media (min-width: 1024px) {
  .heading-1 {
    font-size: 2.25rem;
  }
}

.heading-2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1f2937;
}
@media (min-width: 768px) {
  .heading-2 {
    font-size: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .heading-2 {
    font-size: 1.875rem;
  }
}

.heading-3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  color: #1f2937;
}
@media (min-width: 768px) {
  .heading-3 {
    font-size: 1.25rem;
  }
}

.heading-4 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  color: #1f2937;
}
@media (min-width: 768px) {
  .heading-4 {
    font-size: 1.125rem;
  }
}

.text-body {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #6b7280;
}
@media (min-width: 768px) {
  .text-body {
    font-size: 1rem;
  }
}

.text-small {
  font-size: 0.75rem;
  color: #9ca3af;
}

.text-link {
  color: #2563eb;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.text-link:hover {
  color: #1d4ed8;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page__main {
  flex: 1;
}

.section {
  padding: 3rem 0;
}
@media (min-width: 1024px) {
  .section {
    padding: 4rem 0;
  }
}
.section--gray {
  background-color: #f8fafc;
}
.section--blue {
  background-color: #dbeafe;
}

.grid {
  display: grid;
  gap: 1.5rem;
}
.grid--2 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.grid--3 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.grid--4 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.two-column {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .two-column {
    grid-template-columns: 280px 1fr;
  }
}
@media (min-width: 1024px) {
  .two-column--wide-sidebar {
    grid-template-columns: 320px 1fr;
  }
}
@media (min-width: 1024px) {
  .two-column--chat {
    grid-template-columns: 360px 1fr;
    height: calc(100vh - 80px);
  }
}

.dashboard-layout {
  display: grid;
  gap: 2rem;
  min-height: calc(100vh - 80px);
}
@media (min-width: 1024px) {
  .dashboard-layout {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: #6b7280;
}
.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  color: #9ca3af;
}
.breadcrumbs__link {
  color: #6b7280;
}
.breadcrumbs__link:hover {
  color: #2563eb;
}
.breadcrumbs__current {
  color: #1f2937;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 150ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn--primary {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}
.btn--primary:hover:not(:disabled) {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
}
.btn--accent {
  background-color: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
}
.btn--accent:hover:not(:disabled) {
  background-color: #15803d;
  border-color: #15803d;
  color: #ffffff;
}
.btn--outline {
  background-color: #ffffff;
  color: #2563eb;
  border-color: #e5e7eb;
}
.btn--outline:hover:not(:disabled) {
  border-color: #2563eb;
  background-color: #dbeafe;
}
.btn--outline-white {
  background-color: #ffffff;
  color: #2563eb;
  border-color: #ffffff;
}
.btn--outline-white:hover:not(:disabled) {
  background-color: #f8fafc;
}
.btn--ghost {
  background-color: transparent;
  color: #1f2937;
  border-color: transparent;
}
.btn--ghost:hover:not(:disabled) {
  background-color: #f8fafc;
}
.btn--sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
}
.btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  border-radius: 16px;
}
.btn--block {
  width: 100%;
}
.btn__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 8px;
  line-height: 1;
}
.badge--new {
  background-color: #16a34a;
  color: #ffffff;
}
.badge--premium {
  background-color: #f59e0b;
  color: #ffffff;
}
.badge--free {
  background-color: #f1f5f9;
  color: #6b7280;
}

.favorite-btn {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #9ca3af;
  transition: all 150ms ease;
}
.favorite-btn:hover {
  border-color: #ef4444;
  color: #ef4444;
}
.favorite-btn.is-active {
  background-color: #fef2f2;
  border-color: #ef4444;
  color: #ef4444;
}
.favorite-btn.is-active svg {
  fill: currentColor;
}
.favorite-btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

.icon-btn {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  color: #6b7280;
  transition: all 150ms ease;
}
.icon-btn:hover {
  background-color: #f8fafc;
  color: #2563eb;
}

.header {
  position: sticky;
  top: 0;
  z-index: 300;
  background-color: #ffffff;
  border-bottom: 1px solid #f3f4f6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.header__inner {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .header__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 1024px) {
  .header__inner {
    height: 5rem;
  }
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #1f2937;
  flex-shrink: 0;
}
.header__logo:hover {
  color: #1f2937;
}
.header__logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}
.header__logo-text {
  display: flex;
  flex-direction: column;
}
.header__logo-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}
.header__logo-subtitle {
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.2;
}
.header__nav {
  display: none;
}
@media (min-width: 1024px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}
.header__nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: color 150ms ease;
  white-space: nowrap;
}
.header__nav-link:hover, .header__nav-link.is-active {
  color: #2563eb;
}
.header__actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 1024px) {
  .header__actions {
    display: flex;
  }
}
.header__burger {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #1f2937;
}
@media (min-width: 1024px) {
  .header__burger {
    display: none;
  }
}
.header__burger svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 400;
  visibility: hidden;
  opacity: 0;
  transition: visibility 250ms ease, opacity 250ms ease;
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
}
.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}
.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(17, 24, 39, 0.5);
}
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background-color: #ffffff;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 250ms ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.mobile-menu__close {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #1f2937;
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu__link {
  font-size: 1rem;
  font-weight: 500;
  color: #1f2937;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}
.mobile-menu__link:hover {
  color: #2563eb;
}
.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.footer {
  background-color: #f8fafc;
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}
.footer__brand {
  max-width: 280px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: #1f2937;
}
.footer__logo-icon {
  width: 2.25rem;
  height: 2.25rem;
}
.footer__logo-title {
  font-size: 1.125rem;
  font-weight: 700;
}
.footer__description {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.footer__social {
  display: flex;
  gap: 0.5rem;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 12px;
  background-color: #ffffff;
  color: #6b7280;
  border: 1px solid #e5e7eb;
  transition: all 150ms ease;
}
.footer__social-link:hover {
  color: #2563eb;
  border-color: #2563eb;
}
.footer__social-link svg {
  width: 1.125rem;
  height: 1.125rem;
}
.footer__column-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1.5rem;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__link {
  font-size: 0.875rem;
  color: #6b7280;
  text-decoration: none;
}
.footer__link:hover {
  color: #2563eb;
}
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}
.footer__contact-item svg {
  width: 1rem;
  height: 1rem;
  color: #2563eb;
  flex-shrink: 0;
}
.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group--inline {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  color: #1f2937;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.form-input::placeholder,
.form-select::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #ef4444;
}
.form-input.is-invalid:focus,
.form-select.is-invalid:focus,
.form-textarea.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.form-checkbox input {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: #2563eb;
  cursor: pointer;
}
.form-checkbox span {
  font-size: 0.875rem;
  color: #6b7280;
}

.form-error {
  display: block;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
}

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.search-form {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 768px) {
  .search-form {
    padding: 1.5rem;
    margin-top: -4rem;
  }
}
.search-form__grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .search-form__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
    align-items: end;
  }
}
.search-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.search-form__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
}
.search-form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  color: #1f2937;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  padding: 0.625rem 0.875rem;
}
.search-form__input::placeholder {
  color: #9ca3af;
}
.search-form__input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.search-form__input.is-invalid {
  border-color: #ef4444;
}
.search-form__input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
@media (min-width: 768px) {
  .search-form__submit {
    align-self: end;
  }
}

.filter-panel {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
}
.filter-panel__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f3f4f6;
}
.filter-panel__section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}
.filter-panel__section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.filter-panel__section-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.filter-panel__checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.filter-panel__checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  cursor: pointer;
}
.filter-panel__checkbox input {
  accent-color: #2563eb;
}
.filter-panel__price-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.form-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}
.form-steps__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #9ca3af;
  background: #f8fafc;
  border: 1px solid transparent;
}
@media (min-width: 768px) {
  .form-steps__item {
    font-size: 0.875rem;
  }
}
.form-steps__item.is-active {
  background: #dbeafe;
  color: #2563eb;
  border-color: #2563eb;
}
.form-steps__item.is-completed {
  background: #dcfce7;
  color: #15803d;
}
.form-steps__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: currentColor;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}
.form-steps__item.is-active .form-steps__number, .form-steps__item.is-completed .form-steps__number {
  background: #ffffff;
  color: inherit;
}

.form-step {
  display: none;
}
.form-step.is-active {
  display: block;
}

.form-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 2rem;
}
.form-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 2rem;
}
.form-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #f3f4f6;
}

.upload-zone {
  border: 2px dashed #e5e7eb;
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  transition: border-color 150ms ease;
}
.upload-zone:hover, .upload-zone.is-dragover {
  border-color: #2563eb;
  background: #dbeafe;
}
.upload-zone__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: #9ca3af;
}
.upload-zone__text {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}
.upload-zone__preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.upload-zone__preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
}
.upload-zone__preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.listing-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.listing-card__image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.listing-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}
.listing-card:hover .listing-card__image {
  transform: scale(1.05);
}
.listing-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
}
.listing-card__body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.listing-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-card__location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: #6b7280;
}
.listing-card__location svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #2563eb;
  flex-shrink: 0;
}
.listing-card__description {
  font-size: 0.875rem;
  color: #9ca3af;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.75;
}
.listing-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  padding-top: 0;
  margin-top: auto;
}
.listing-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: #2563eb;
}
.listing-card__price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: #9ca3af;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  background: #ffffff;
  border: 2px solid #f3f4f6;
  border-radius: 16px;
  cursor: pointer;
  transition: all 150ms ease;
  text-decoration: none;
  color: #6b7280;
  min-width: 100px;
  flex-shrink: 0;
}
.category-card:hover, .category-card.is-active {
  border-color: #2563eb;
  color: #2563eb;
  background: #dbeafe;
}
.category-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #2563eb;
}
.category-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}
.category-card__label {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .category-card__label {
    font-size: 0.875rem;
  }
}

.categories-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}
.categories-scroll::-webkit-scrollbar {
  height: 4px;
}
.categories-scroll::-webkit-scrollbar-thumb {
  background: #e5e7eb;
  border-radius: 9999px;
}
@media (min-width: 1024px) {
  .categories-scroll {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    overflow-x: visible;
  }
}

.advantage-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1.5rem;
}
.advantage-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: #ffffff;
  color: #2563eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.advantage-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.advantage-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}
.advantage-card__text {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.75;
}

.stat-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stat-card__label {
  font-size: 0.875rem;
  color: #6b7280;
}
.stat-card__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
}
.stat-card__change {
  font-size: 0.75rem;
  color: #16a34a;
}
.stat-card__change--down {
  color: #ef4444;
}

.blog-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.blog-card__link {
  text-decoration: none;
  color: inherit;
}
.blog-card__image {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}
.blog-card__body {
  padding: 1.5rem;
}
.blog-card__meta {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}
.blog-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__excerpt {
  font-size: 0.875rem;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.75;
}

.pricing-card {
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid #e5e7eb;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.pricing-card--featured {
  border-color: #2563eb;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  position: relative;
}
.pricing-card--featured::before {
  content: "Популярный";
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
}
.pricing-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.pricing-card__price {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}
.pricing-card__price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: #9ca3af;
}
.pricing-card__description {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
  line-height: 1.75;
}
.pricing-card__features {
  flex: 1;
  margin-bottom: 2rem;
}
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}
.pricing-card__features li svg {
  width: 1rem;
  height: 1rem;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.team-card {
  text-align: center;
}
.team-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 9999px;
  object-fit: cover;
  margin: 0 auto 1rem;
}
.team-card__name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.team-card__role {
  font-size: 0.875rem;
  color: #9ca3af;
}

.amenity-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  background: #f8fafc;
  border-radius: 12px;
  font-size: 0.875rem;
  color: #6b7280;
}
.amenity-tag svg {
  width: 1rem;
  height: 1rem;
  color: #2563eb;
}

.contact-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 2rem;
}
.contact-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.contact-card__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-card__item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #2563eb;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.contact-card__label {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}
.contact-card__value {
  font-size: 0.875rem;
  color: #1f2937;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: visibility 250ms ease, opacity 250ms ease;
}
.modal.is-open {
  visibility: visible;
  opacity: 1;
}
.modal.is-open .modal__dialog {
  transform: scale(1);
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.5);
}
.modal__dialog {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 250ms ease;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.modal__dialog--lg {
  max-width: 640px;
}
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f3f4f6;
}
.modal__title {
  font-size: 1.125rem;
  font-weight: 600;
}
.modal__close {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 12px;
  color: #9ca3af;
}
.modal__close:hover {
  background: #f8fafc;
  color: #1f2937;
}
.modal__body {
  padding: 2rem;
}
.modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid #f3f4f6;
}

.tabs__nav {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 2rem;
  overflow-x: auto;
}
.tabs__btn {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 150ms ease;
}
.tabs__btn:hover {
  color: #2563eb;
}
.tabs__btn.is-active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}
.tabs__panel {
  display: none;
}
.tabs__panel.is-active {
  display: block;
}

.accordion {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
}
.accordion__item {
  border-bottom: 1px solid #e5e7eb;
}
.accordion__item:last-child {
  border-bottom: none;
}
.accordion__header {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #1f2937;
  text-align: left;
  transition: background 150ms ease;
}
.accordion__header:hover {
  background: #f8fafc;
}
.accordion__header svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #9ca3af;
  transition: transform 150ms ease;
  flex-shrink: 0;
}
.accordion__header.is-open svg {
  transform: rotate(180deg);
}
.accordion__body {
  display: none;
  padding: 0 1.5rem 1.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.75;
}
.accordion__body.is-open {
  display: block;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.pagination__btn {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  transition: all 150ms ease;
}
.pagination__btn:hover:not(:disabled):not(.is-active) {
  border-color: #2563eb;
  color: #2563eb;
}
.pagination__btn.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}
.pagination__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pagination__ellipsis {
  padding: 0 0.5rem;
  color: #9ca3af;
}

.gallery {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f1f5f9;
}
.gallery__main {
  position: relative;
  aspect-ratio: 16/9;
}
@media (min-width: 1024px) {
  .gallery__main {
    aspect-ratio: 21/9;
  }
}
.gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 250ms ease;
}
.gallery__slide.is-active {
  opacity: 1;
  position: relative;
}
.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  transition: background 150ms ease;
  z-index: 2;
}
.gallery__nav:hover {
  background: #ffffff;
}
.gallery__nav--prev {
  left: 1rem;
}
.gallery__nav--next {
  right: 1rem;
}
.gallery__nav svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #1f2937;
}
.gallery__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.gallery__dot {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  transition: background 150ms ease;
}
.gallery__dot.is-active {
  background: #ffffff;
  width: 1.5rem;
}
.gallery__thumbs {
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}
@media (min-width: 1024px) {
  .gallery__thumbs {
    display: grid;
  }
}
.gallery__thumb {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: all 150ms ease;
}
.gallery__thumb.is-active, .gallery__thumb:hover {
  opacity: 1;
  border-color: #2563eb;
}
.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-placeholder {
  background: #f1f5f9;
  border-radius: 16px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: #9ca3af;
  border: 1px solid #e5e7eb;
}
.map-placeholder svg {
  width: 3rem;
  height: 3rem;
  color: #2563eb;
}
.map-placeholder span {
  font-size: 0.875rem;
}

.sidebar-nav {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 1rem;
  position: sticky;
  top: 6rem;
}
.sidebar-nav__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: all 150ms ease;
}
.sidebar-nav__link:hover, .sidebar-nav__link.is-active {
  background: #dbeafe;
  color: #2563eb;
}
.sidebar-nav__link svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.chat-list {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}
.chat-list__item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background 150ms ease;
}
.chat-list__item:hover, .chat-list__item.is-active {
  background: #dbeafe;
}
.chat-list__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
}
.chat-list__content {
  flex: 1;
  min-width: 0;
}
.chat-list__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}
.chat-list__name {
  font-size: 0.875rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-list__time {
  font-size: 0.75rem;
  color: #9ca3af;
  flex-shrink: 0;
}
.chat-list__preview {
  font-size: 0.875rem;
  color: #9ca3af;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-list__unread {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.375rem;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
}

.chat-window {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 400px;
}
.chat-window__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}
.chat-window__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.chat-window__message {
  max-width: 75%;
  padding: 1rem;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.75;
}
.chat-window__message--incoming {
  align-self: flex-start;
  background: #f8fafc;
  color: #1f2937;
  border-bottom-left-radius: 0.25rem;
}
.chat-window__message--outgoing {
  align-self: flex-end;
  background: #2563eb;
  color: #ffffff;
  border-bottom-right-radius: 0.25rem;
}
.chat-window__message time {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}
.chat-window__input {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid #f3f4f6;
}
.chat-window__input input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  color: #1f2937;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  flex: 1;
}
.chat-window__input input::placeholder {
  color: #9ca3af;
}
.chat-window__input input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.chat-window__input input.is-invalid {
  border-color: #ef4444;
}
.chat-window__input input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  font-size: 0.875rem;
}
.comparison-table th, .comparison-table td {
  padding: 1rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid #f3f4f6;
}
.comparison-table th {
  background: #f8fafc;
  font-weight: 600;
}
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table .check {
  color: #16a34a;
}
.comparison-table .cross {
  color: #9ca3af;
}

.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  padding: 3rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.auth-card__header {
  text-align: center;
  margin-bottom: 3rem;
}
.auth-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.auth-card__subtitle {
  font-size: 0.875rem;
  color: #6b7280;
}
.auth-card__footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.profile-avatar {
  text-align: center;
  margin-bottom: 3rem;
}
.profile-avatar__image {
  width: 120px;
  height: 120px;
  border-radius: 9999px;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.catalog-toolbar__count {
  font-size: 0.875rem;
  color: #6b7280;
}
.catalog-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.catalog-toolbar__sort label {
  font-size: 0.875rem;
  color: #6b7280;
  white-space: nowrap;
}
.catalog-toolbar__sort select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  color: #1f2937;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  width: auto;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
}
.catalog-toolbar__sort select::placeholder {
  color: #9ca3af;
}
.catalog-toolbar__sort select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.catalog-toolbar__sort select.is-invalid {
  border-color: #ef4444;
}
.catalog-toolbar__sort select.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.listing-detail__header {
  margin-bottom: 2rem;
}
.listing-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}
.listing-detail__price-block {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  position: sticky;
  top: 6rem;
}
.listing-detail__price-block .listing-detail__price {
  font-size: 1.875rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
}
.listing-detail__content {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .listing-detail__content {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }
}
.listing-detail__section {
  margin-bottom: 3rem;
}
.listing-detail__section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.listing-detail__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-layout {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr 320px;
  }
}

.article-content__featured {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2rem;
  aspect-ratio: 16/9;
}
.article-content__featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-content__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}
.article-content__body {
  font-size: 1rem;
  line-height: 1.75;
  color: #6b7280;
}
.article-content__body h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin: 3rem 0 1rem;
}
.article-content__body p {
  margin-bottom: 1rem;
}

.article-sidebar__widget {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.article-sidebar__widget h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.article-sidebar__related {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.article-sidebar__related-item {
  display: flex;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}
.article-sidebar__related-item img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.article-sidebar__related-item span {
  font-size: 0.875rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero {
    min-height: 480px;
  }
}
@media (min-width: 1024px) {
  .hero {
    min-height: 560px;
  }
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17, 24, 39, 0.65) 0%, rgba(17, 24, 39, 0.3) 60%, rgba(17, 24, 39, 0.1) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 4rem;
  padding-bottom: 6rem;
  max-width: 640px;
  color: #ffffff;
}
@media (min-width: 1024px) {
  .hero__content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.hero__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .hero__title {
    font-size: 1.875rem;
  }
}
@media (min-width: 1024px) {
  .hero__title {
    font-size: 2.25rem;
  }
}
.hero__subtitle {
  font-size: 0.875rem;
  line-height: 1.75;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 520px;
}
@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 1rem;
  }
}
.hero--inner {
  min-height: 280px;
}
.hero--inner .hero__content {
  max-width: 100%;
  text-align: center;
  margin: 0 auto;
}
.hero--inner .hero__bg::after {
  background: rgba(17, 24, 39, 0.55);
}

.cta-banner {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .cta-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 4rem;
  }
}
.cta-banner__content {
  color: #ffffff;
}
.cta-banner__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .cta-banner__title {
    font-size: 1.5rem;
  }
}
.cta-banner__text {
  font-size: 0.875rem;
  opacity: 0.9;
  line-height: 1.75;
  max-width: 480px;
}
@media (min-width: 768px) {
  .cta-banner__text {
    font-size: 1rem;
  }
}

.page-header {
  background: #f8fafc;
  padding: 2rem 0;
}
@media (min-width: 1024px) {
  .page-header {
    padding: 3rem 0;
  }
}
.page-header__title {
  font-size: 1.5rem;
  font-weight: 700;
}
@media (min-width: 1024px) {
  .page-header__title {
    font-size: 1.875rem;
  }
}
.page-header__subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.5rem;
}
@media (min-width: 768px) {
  .page-header__subtitle {
    font-size: 1rem;
  }
}

.about-intro {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-intro {
    grid-template-columns: 1fr 1fr;
  }
}
.about-intro__image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-layout {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 400px;
  }
}

.filter-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 1024px) {
  .filter-toggle {
    display: none;
  }
}

.filter-panel {
  display: none;
}
.filter-panel.is-open {
  display: block;
}
@media (min-width: 1024px) {
  .filter-panel {
    display: block;
  }
}
