/* === Realty CMS — ЦИАН/Авито Style === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #ff4636;
  --primary-dark: #e03020;
  --primary-light: #fff1f0;
  --blue: #2196f3;
  --blue-dark: #1976d2;
  --green: #4caf50;
  --text: #1a1a1a;
  --text-2: #6c737a;
  --text-3: #9ba3af;
  --bg: #f4f6f8;
  --bg-2: #edf0f3;
  --white: #ffffff;
  --border: #e0e5eb;
  --border-2: #c9d0d8;
  --shadow: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --radius: 8px;
  --radius-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--text); background: var(--bg); font-size: 14px; line-height: 1.5; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.site-header .container {
  display: flex; align-items: center;
  height: 60px; gap: 16px;
}
.logo {
  font-size: 22px; font-weight: 800;
  color: var(--primary); letter-spacing: -1px;
  white-space: nowrap; flex-shrink: 0;
}
.logo span { color: var(--text); }
.nav { display: flex; gap: 2px; }
.nav a {
  color: var(--text-2); font-size: 14px; font-weight: 500;
  padding: 6px 10px; border-radius: var(--radius);
  transition: all .15s; white-space: nowrap;
}
.nav a:hover { color: var(--text); background: var(--bg); }
.header-search {
  flex: 1; max-width: 400px;
  display: flex; background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px; overflow: hidden;
  transition: border-color .2s;
}
.header-search:focus-within { border-color: var(--blue); background: #fff; }
.header-search input {
  flex: 1; background: none; border: none; outline: none;
  padding: 8px 12px; font-size: 14px; color: var(--text);
}
.header-search button {
  background: var(--blue); color: #fff; border: none;
  padding: 8px 14px; font-size: 13px; font-weight: 500;
  transition: background .15s;
}
.header-search button:hover { background: var(--blue-dark); }
.header-actions { display: flex; gap: 8px; margin-left: auto; flex-shrink: 0; }
.btn-header-login {
  color: var(--text-2); font-size: 13px; font-weight: 500;
  padding: 7px 14px; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: none;
  transition: all .15s; white-space: nowrap;
}
.btn-header-login:hover { border-color: var(--blue); color: var(--blue); }
.btn-header-post {
  background: var(--primary); color: #fff; font-size: 13px;
  font-weight: 600; padding: 7px 16px; border-radius: var(--radius);
  border: none; transition: background .15s; white-space: nowrap;
}
.btn-header-post:hover { background: var(--primary-dark); }
.btn-header-cabinet {
  color: var(--text-2); font-size: 13px; font-weight: 500;
  padding: 7px 14px; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: none;
  transition: all .15s; white-space: nowrap;
}
.btn-header-cabinet:hover { border-color: var(--blue); color: var(--blue); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(120deg, #1a1f36 0%, #2d3561 60%, #1a1f36 100%);
  padding: 56px 0 64px;
}
.hero-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.hero h1 {
  color: #fff; font-size: clamp(24px, 4vw, 42px);
  font-weight: 800; line-height: 1.2; margin-bottom: 8px;
  letter-spacing: -.5px;
}
.hero-sub { color: rgba(255,255,255,.65); font-size: 16px; margin-bottom: 28px; }
.hero-search-wrap {
  background: #fff; border-radius: 12px;
  padding: 6px; display: flex;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  margin-bottom: 20px;
}
.hero-search-wrap input {
  flex: 1; border: none; outline: none;
  padding: 12px 16px; font-size: 15px; color: var(--text);
  background: none;
}
.hero-search-wrap button {
  background: var(--primary); color: #fff; border: none;
  padding: 12px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 600; transition: background .15s;
}
.hero-search-wrap button:hover { background: var(--primary-dark); }
.hero-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hero-tab {
  padding: 8px 20px; border-radius: 20px;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.85);
  font-size: 14px; font-weight: 500; border: 1px solid rgba(255,255,255,.2);
  transition: all .2s;
}
.hero-tab:hover { background: rgba(255,255,255,.22); color: #fff; }

/* ===== STATS ===== */
.stats-row {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.stats-row .container { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.stat-item { display: flex; align-items: center; gap: 8px; }
.stat-item .num { font-size: 18px; font-weight: 700; color: var(--text); }
.stat-item .lbl { font-size: 13px; color: var(--text-2); }

/* ===== SECTION ===== */
.section { padding: 32px 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-title { font-size: 20px; font-weight: 700; color: var(--text); }
.section-link { font-size: 13px; color: var(--blue); font-weight: 500; }
.section-link:hover { color: var(--blue-dark); }

/* ===== CARDS ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }

.prop-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
}
.prop-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.prop-card-img {
  position: relative; height: 180px;
  background: var(--bg-2); overflow: hidden;
}
.prop-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; transition: transform .3s;
}
.prop-card:hover .prop-card-img img { transform: scale(1.03); }
.prop-card-img .no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px; color: var(--text-3);
}
.prop-card-img .no-img svg { width: 36px; height: 36px; opacity: .4; }

.prop-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px;
}
.badge-sale  { background: #e3f2fd; color: #1565c0; }
.badge-rent  { background: #e8f5e9; color: #2e7d32; }
.badge-daily { background: #fce7f3; color: #9d174d; }
.badge-vip  { background: #fff8e1; color: #e65100; }

.prop-card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.prop-price { font-size: 18px; font-weight: 700; color: var(--text); }
.prop-price .per { font-size: 13px; font-weight: 400; color: var(--text-2); }
.prop-title { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.4; }
.prop-title a { color: inherit; }
.prop-title a:hover { color: var(--blue); }
.prop-addr { font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 4px; }
.prop-params { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.prop-param { font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 3px; }

/* ===== FILTERS ===== */
.filters-bar {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
  margin-bottom: 16px;
}
.filters-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.filter-item { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 130px; }
.filter-item label { font-size: 11px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .5px; }
.filter-item select,
.filter-item input {
  padding: 9px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 13px;
  color: var(--text); background: var(--white);
  outline: none; transition: border-color .15s; width: 100%;
}
.filter-item select:focus,
.filter-item input:focus { border-color: var(--blue); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 18px; border-radius: var(--radius); font-size: 14px; font-weight: 500; border: none; cursor: pointer; transition: all .15s; text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: none; border: 1.5px solid var(--border); color: var(--text-2); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: var(--bg); color: var(--text-2); border: none; }
.btn-ghost:hover { background: var(--bg-2); color: var(--text); }
.btn-danger { background: #f44336; color: #fff; }
.btn-danger:hover { background: #d32f2f; color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 13px 28px; font-size: 15px; font-weight: 600; }
.btn-block { width: 100%; }

/* ===== PROPERTY DETAIL ===== */
.prop-detail-wrap {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 20px; align-items: start;
  padding: 24px 0 60px;
}
.prop-gallery { border-radius: var(--radius-lg); overflow: hidden; background: #000; margin-bottom: 20px; }
.prop-main-img { position: relative; }
.prop-main-img img { width: 100%; height: 400px; object-fit: cover; display: block; transition: opacity .2s; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.45); color: #fff; border: none;
  width: 44px; height: 44px; border-radius: 50%; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s; backdrop-filter: blur(4px);
}
.gallery-nav:hover { background: rgba(0,0,0,.7); }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-counter {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 12px; font-weight: 500; padding: 4px 10px;
  border-radius: 20px; backdrop-filter: blur(4px);
}
.gallery-thumbs {
  display: flex; gap: 3px; padding: 3px;
  background: #111; overflow-x: auto;
}
.gallery-thumbs img {
  width: 68px; height: 50px; object-fit: cover;
  border-radius: 4px; cursor: pointer; flex-shrink: 0;
  opacity: .55; border: 2px solid transparent;
  transition: all .15s;
}
.gallery-thumbs img.active { opacity: 1; border-color: var(--primary); }
.gallery-thumbs img:hover { opacity: .85; }

.prop-info-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  margin-bottom: 12px;
}
.prop-info-card h2 { font-size: 14px; font-weight: 600; color: var(--text-2); margin-bottom: 12px; }

.prop-detail-price { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.prop-detail-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.prop-detail-addr { font-size: 13px; color: var(--text-2); margin-bottom: 16px; }
.prop-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.prop-tag {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; padding: 6px 12px; font-size: 12px; color: var(--text-2);
}
.prop-tag strong { color: var(--text); display: block; font-size: 14px; font-weight: 600; }

.contact-form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
}
.contact-form-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .4px; }
.form-control {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 14px; color: var(--text);
  outline: none; transition: border-color .15s; background: var(--white);
  font-family: inherit;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,150,243,.08); }
textarea.form-control { min-height: 100px; resize: vertical; }

/* ===== ALERTS ===== */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.alert-error   { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }
.alert-info    { background: #e3f2fd; color: #1565c0; border: 1px solid #bbdefb; }
.alert-warn    { background: #fff8e1; color: #e65100; border: 1px solid #ffecb3; }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 36px; height: 36px; padding: 0 10px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); border: 1.5px solid var(--border);
  color: var(--text-2); font-size: 14px; font-weight: 500;
  transition: all .15s;
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ===== CABINET ===== */
.cabinet-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 20px; padding: 24px 0 60px; }
.cabinet-sidebar {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
  height: fit-content; position: sticky; top: 76px;
}
.cabinet-user { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.cabinet-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #ff8c00);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 700; flex-shrink: 0;
}
.cabinet-name { font-size: 14px; font-weight: 600; }
.cabinet-email { font-size: 12px; color: var(--text-2); }
.cabinet-nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 10px; border-radius: var(--radius);
  color: var(--text-2); font-size: 13px; font-weight: 500;
  transition: all .15s; margin-bottom: 2px;
}
.cabinet-nav a:hover { background: var(--bg); color: var(--text); }
.cabinet-nav a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.cabinet-content { min-width: 0; }
.cabinet-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cabinet-header h1 { font-size: 20px; font-weight: 700; }

.tariff-card {
  background: linear-gradient(135deg, #1a1f36, #2d3561);
  border-radius: var(--radius-lg); padding: 20px 24px;
  color: #fff; display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.tariff-name { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.tariff-sub { font-size: 12px; opacity: .65; }
.tariff-count .num { font-size: 24px; font-weight: 800; }
.tariff-count .lbl { font-size: 12px; opacity: .65; }

.ad-row {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 14px;
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 10px; transition: box-shadow .15s;
}
.ad-row:hover { box-shadow: var(--shadow); }
.ad-row-img {
  width: 88px; height: 64px; border-radius: 6px;
  object-fit: cover; flex-shrink: 0; background: var(--bg-2);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ad-row-img img { width: 100%; height: 100%; object-fit: cover; }
.ad-row-body { flex: 1; min-width: 0; }
.ad-row-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-row-price { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.ad-row-city { font-size: 12px; color: var(--text-2); }
.ad-status { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 0; border-radius: 0; margin-top: 0; }
.status-approved { background: none; color: #2e7d32; }
.status-pending  { background: none; color: #e65100; }
.status-rejected { background: none; color: #c62828; }
.ad-row-actions { display: flex; gap: 6px; flex-shrink: 0; }

/* ===== AUTH ===== */
.auth-wrap {
  min-height: calc(100vh - 60px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 16px; background: var(--bg);
}
.auth-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  width: 100%; max-width: 420px;
  box-shadow: var(--shadow-md);
}
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-logo .logo { font-size: 28px; display: inline-block; }
.auth-title { font-size: 20px; font-weight: 700; text-align: center; margin-bottom: 4px; }
.auth-sub { font-size: 13px; color: var(--text-2); text-align: center; margin-bottom: 24px; }

/* ===== FOOTER ===== */
.site-footer { background: #1a1f36; color: rgba(255,255,255,.6); padding: 40px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand .logo { color: var(--primary); margin-bottom: 10px; display: block; font-size: 22px; }
.footer-brand .logo span { color: #fff; }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { color: rgba(255,255,255,.55); font-size: 13px; transition: color .15s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 60px 20px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.empty-icon { font-size: 52px; margin-bottom: 12px; }
.empty-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.empty-sub { font-size: 14px; color: var(--text-2); margin-bottom: 20px; }

/* ===== RESULT INFO ===== */
.result-info { font-size: 13px; color: var(--text-2); margin-bottom: 14px; }
.result-info strong { color: var(--text); font-weight: 600; }

/* ===== PAGE CONTENT ===== */
.page-content { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }

/* ===== CONTACT ===== */
.contact-wrap { max-width: 560px; margin: 32px auto 60px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .prop-detail-wrap { grid-template-columns: 1fr; }
  .cabinet-wrap { grid-template-columns: 280px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .property-grid { grid-template-columns: 1fr !important; }
  .property-sidebar { position: static !important; top: auto !important; }
}
@media (max-width: 768px) {
  .cabinet-wrap { grid-template-columns: 1fr !important; }
  .cabinet-sidebar { position: static !important; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 36px 0 44px; }
  .hero-search-wrap { flex-direction: column; }
  .hero-search-wrap button { border-radius: 8px; width: 100%; }
  #gallery { border-radius: 8px; }
  .container { padding: 0 16px; }
}
@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .auth-card { padding: 24px 16px; }
  .tariff-card { flex-direction: column; }
}


/* Кликабельные карточки */
a.prop-card { color: inherit; text-decoration: none; display: flex; flex-direction: column; }
a.prop-card:hover { color: inherit; }

/* ===== НИЖНЯЯ НАВИГАЦИЯ (мобильная) ===== */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    z-index: 190;
    padding: 0 8px env(safe-area-inset-bottom, 8px);
}
.bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 56px;
}
.bn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 10px;
    text-decoration: none;
    color: var(--text-2);
    font-size: 10px;
    font-weight: 500;
    border-radius: 8px;
    transition: color .15s;
    flex: 1;
}
.bn-item.active { color: var(--primary); }
.bn-item svg { width: 24px; height: 24px; }
.bn-post {
    background: var(--primary);
    color: #fff !important;
    border-radius: 12px;
    padding: 6px 14px;
    gap: 2px;
}
.bn-post svg { width: 22px; height: 22px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .prop-detail-wrap { grid-template-columns: 1fr; }
    .cabinet-wrap { grid-template-columns: 280px 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .property-grid { grid-template-columns: 1fr !important; }
    .property-sidebar { position: static !important; top: auto !important; }
}
@media (max-width: 768px) {
    .cabinet-wrap { grid-template-columns: 1fr !important; }
    .cabinet-sidebar { display: none !important; }
    .cards-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero { padding: 36px 0 44px; }
    .hero-search-wrap { flex-direction: column; }
    .hero-search-wrap button { border-radius: 8px; width: 100%; }
    .container { padding: 0 16px; }
    .bottom-nav { display: block !important; }
    body { padding-bottom: 64px; }
    .site-footer { display: none; }
    .property-grid {
        display: flex !important;
        flex-direction: column !important;
    }
    .prop-gallery-block { order: 1; }
    .property-sidebar { order: 2 !important; }
    .prop-amenities-block { order: 3; }
    .prop-desc-block { order: 4; }
    body { overflow-x: hidden; }
    .site-header .container { overflow: hidden; }
}
@media (max-width: 480px) {
    .cards-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .auth-card { padding: 24px 16px; }
}
@media (max-width: 768px) {
    .cabinet-sidebar { display: none !important; }
    .cabinet-wrap { grid-template-columns: 1fr !important; }
}
