* { box-sizing: border-box; }
html, body {height:100%; margin: 0; padding: 0; }
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
}
body { font-family: Arial, Helvetica, sans-serif; color: #222; background: #fff; font-size: 13px; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 12px; }

.site-header {background: #1f4269;color: #fff;padding: 14px 0 0;padding-bottom: 40px;}
.header-top { display: flex; align-items: flex-start; justify-content: space-between; }
.logo { display: inline-flex; flex-direction: column; color: #fff; line-height: 1; }
.logo__main { font-size: 27px; font-weight: 700; }
.logo__sub { margin-top: 2px; font-size: 12px; letter-spacing: 2px; }
.header-nav { display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 700; }
.header-btn { background: #fff; color: #1f4269; padding: 7px 10px; border-radius: 2px; }
.header-slogan { margin-top: 13px; padding-bottom: 12px; font-size: 22px; font-weight: 300; }
.header-slogan strong { font-weight: 700; }

.search-section { background: #f4b51b; }
.search-bar { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr 110px; gap: 4px; }
.search-field { position: relative; display: flex; align-items: center; background: #fff; height: 60px; border-radius: 0px;     padding-right: 18px;
    padding-left: 24px;}
.search-field select { width: 100%; height: 100%; padding: 0px; border: 0; background: transparent; outline: none; font-size: 16px;
    font-weight: 600;}
.search-field--city select { padding-left: 16px; }
.search-icon { position: absolute; left: 18px; color: #333; width: 17px; height: 17px;}
.search-submit { border: 0;background: #f6b913;font-weight: 600;cursor: pointer;border-radius: 2px;font-size: 18px; }

.catalog-page { padding-top: 12px; }
.breadcrumbs { display: flex; gap: 7px; align-items: center; margin-bottom: 16px; font-size: 11px; color: #1d70b8; }
.catalog-layout { display: grid; grid-template-columns: 185px 1fr; gap: 18px; align-items: start; }

.sidebar { width: 100%; }
.map-card { position: relative; height: 158px; margin-bottom: 12px; border: 1px solid #ddd; overflow: hidden; background: #f4f7fb; }
.map-placeholder { height: 100%; background: linear-gradient(135deg, #f6f8fb 25%, #dbe4ee 25%, #dbe4ee 28%, #f6f8fb 28%, #f6f8fb 60%, #dbe4ee 60%, #dbe4ee 63%, #f6f8fb 63%); }
.map-button { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); border: 0; background: #0056b8; color: #fff; padding: 8px 12px; border-radius: 2px; font-size: 12px; cursor: pointer; }
.filters { border: 1px solid #e6e6e6; padding: 0 10px 12px; margin-top: 50px;}
.filter-group { padding: 12px 0; border-bottom: 1px solid #eee; }
.filter-head { display: flex; justify-content: space-between; margin-bottom: 8px; text-transform: uppercase; color: #777; font-size: 11px; }
.filter-head a { color: #1684d8; text-transform: none; }
.filters label { display: block; margin: 8px 0 4px; color: #333; font-size: 12px; }
.filters select, .filters input { width: 100%; height: 32px; border: 1px solid #ddd; border-radius: 2px; background: #fff; padding: 0 8px; color: #555; }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.filters-reset { display: block; margin-left: auto; border: 0; background: transparent; color: #1684d8; cursor: pointer; }

.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.catalog-toolbar h1 { margin: 0; font-size: 16px; }
.view-tools { display: flex; align-items: center; gap: 9px; font-size: 11px; }
.view-btn { width: 25px; height: 25px; border: 0; background: #fff; color: #999; cursor: pointer; }
.view-btn.is-active { color: #006bd6; font-weight: 700; }

.catalog-results.is-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
.listing-card { min-width: 0; background: #fff; }
.listing-card__image { position: relative; display: block; height: 210px; background: #eef2f5; overflow: hidden; }
.listing-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing-card__badge { position: absolute; right: 0; top: 0; width: 32px; height: 32px; background: rgba(35, 65, 100, .7); }
.listing-card__content { padding-top: 8px; }
.listing-card h3 { margin: 0 0 4px; font-size: 14px; line-height: 1.2; }
.listing-card__meta, .listing-card__location, .listing-card__description { margin: 4px 0; color: #555; font-size: 12px; line-height: 1.3; }
.listing-card__description { display: none; }
.listing-card__seller { display: inline-block; margin-top: 6px; color: #0b62a7; font-size: 12px; }
.listing-card__side { padding-top: 5px; }
.listing-card__date { color: #777; font-size: 11px; }
.listing-card__price { margin-top: 3px; font-size: 16px; font-weight: 700; text-align: right; }
.listing-card__phone { margin-top: 2px; font-size: 12px; text-align: right; }
.listing-card__contact { display: none; }

.catalog-results.is-list { display: flex; flex-direction: column; gap: 18px; }
.catalog-results.is-list .listing-card { display: grid; grid-template-columns: 255px 1fr 180px; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #e5e5e5; }
.catalog-results.is-list .listing-card__image { height: 205px; }
.catalog-results.is-list .listing-card__content { padding-top: 0; }
.catalog-results.is-list .listing-card__description { display: block; margin-top: 14px; }
.catalog-results.is-list .listing-card__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; }
.catalog-results.is-list .listing-card__contact { display: inline-block; margin-top: 12px; border: 0; background: #006bd6; color: #fff; padding: 8px 12px; border-radius: 2px; cursor: pointer; }

.mobile-filter-row { display: none; }
.site-footer { height: 120px; margin-top: 80px; background: #ddd; }

@media (max-width: 900px) {
    .catalog-layout { grid-template-columns: 1fr; }
    .mobile-filter-row { display: block; margin-bottom: 12px; }
    .mobile-filter-btn { width: 100%; height: 40px; border: 1px solid #ddd; background: #fff; font-weight: 700; }
    .sidebar { display: none; }
    .sidebar.is-open { display: block; }
    .catalog-results.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-results.is-list .listing-card { grid-template-columns: 220px 1fr; }
    .catalog-results.is-list .listing-card__side { grid-column: 2; align-items: flex-start; }
    .listing-card__price, .listing-card__phone { text-align: left; }
}

@media (max-width: 640px) {
    .header-top { gap: 12px; }
    .header-nav { flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
    .header-slogan { font-size: 17px; }
    .search-bar { grid-template-columns: 1fr; }
    .search-submit { height: 42px; }
    .catalog-toolbar { align-items: flex-start; gap: 12px; flex-direction: column; }
    .catalog-results.is-grid { grid-template-columns: 1fr; }
    .catalog-results.is-list .listing-card { display: block; }
    .listing-card__image, .catalog-results.is-list .listing-card__image { height: 230px; }
    .catalog-results.is-list .listing-card__side { align-items: flex-start; padding-top: 8px; }
}
/* === FIX layout closer to Figma === */

.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 12px;
}

.site-header {
    background: #21476f;
}

.header-top .container,
.header-bottom .container {
    max-width: 1060px;
}

.logo-title {
    font-size: 24px;
    line-height: 1;
}

.logo-subtitle {
    font-size: 13px;
    letter-spacing: 2px;
}

.header-bottom h1 {
    font-size: 22px;
    margin: 18px 0 16px;
    font-weight: 400;
}

.header-bottom h1 strong,
.header-bottom h1 b {
    font-weight: 700;
}

.search-section {
    background: #f6b913;
    padding: 4px;
    max-width: 1266px;
    margin: 0 auto;
    margin-top: -35px;
    
}

.search-form {
    width: 100%;
    max-width: 980px;

    display: grid;
    grid-template-columns: 260px 220px 260px 90px;

    gap: 2px;
}
.search-section {
    display: flex;
    justify-content: center;
}

.search-form select,
.search-form button {
    height: 38px;
    border: 0;
    font-size: 13px;
}

.search-form button {
    background: #f7c32b;
    font-weight: 700;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: start;
}

.sidebar {
    width: 220px;
}

.map-box {
    height: 180px;
}

.filter-panel {
    padding: 12px;
}

.filter-title {
    font-size: 12px;
}

.filter-group label {
    font-size: 12px;
}

.filter-group select,
.filter-group input {
    height: 34px;
    font-size: 12px;
}

.catalog-header {
    margin-bottom: 14px;
}

.catalog-title {
    font-size: 16px;
}

.catalog-results.is-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 22px;
}

.listing-card {
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.listing-card__image {
    height: 235px;
    border-radius: 0;
}

.listing-card__image img {
    border-radius: 0;
}

.listing-card__content {
    padding: 8px 0 0;
}

.listing-card h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.listing-card__meta,
.listing-card__location,
.listing-card__description,
.listing-card__seller,
.listing-card__date {
    font-size: 12px;
    line-height: 1.35;
}

.listing-card__description {
    display: none;
}

.listing-card__bottom {
    padding: 0;
    margin-top: 0;
    display: block;
    text-align: right;
}

.listing-card__price {
    font-size: 18px;
    font-weight: 700;
}

.listing-card__phone {
    font-size: 12px;
    color: #000;
}

.site-footer {
    padding: 20px 0;
}

/* list view */
.catalog-results.is-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.catalog-results.is-list .listing-card {
    display: grid;
    grid-template-columns: 260px 1fr 150px;
    gap: 16px;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 16px;
}

.catalog-results.is-list .listing-card__image {
    height: 190px;
}

.catalog-results.is-list .listing-card__description {
    display: block;
}

.catalog-results.is-list .listing-card__bottom {
    text-align: right;
    align-self: end;
}

/* mobile */
@media (max-width: 900px) {
    .container {
        max-width: 100%;
        padding: 0 14px;
    }

    .header-top .container {
        flex-direction: column;
        gap: 12px;
    }

    .header-actions {
        flex-wrap: wrap;
    }



    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        width: 100%;
    }

    .catalog-results.is-grid {
        grid-template-columns: 1fr;
    }

    .listing-card__image {
        height: 240px;
    }

    .catalog-results.is-list .listing-card {
        display: block;
    }

    .catalog-results.is-list .listing-card__bottom,
    .listing-card__bottom {
        text-align: left;
        margin-top: 8px;
    }
}

/* === Real Figma proportions === */

.container {
    max-width: 1294px;
    margin: 0 auto;
    padding: 0 14px;
}

.catalog-layout {
    grid-template-columns: 300px 944px;
    /* gap: 16px; */
}

.sidebar {
    width: 300px;
}

.catalog-results.is-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 18px;
}

.listing-card__image {
    height: 205px;
}

.listing-card h3 {
    font-size: 14px;
}

.listing-card__meta,
.listing-card__location {
    font-size: 11px;
    line-height: 1.35;
}

.listing-card__seller,
.listing-card__date,
.listing-card__phone {
    font-size: 12px;
}

.listing-card__price {
    font-size: 18px;
}

.header-bottom h1 {
    font-size: 24px;
}



.search-form select,
.search-form button {
    height: 42px;
    font-size: 14px;
}
.catalog-content {
    padding-top: 2px;
}

.catalog-header {
    margin-bottom: 10px;
}

.catalog-title {
    font-size: 13px;
}
.search-section .container {
    max-width: 1266px;
    margin: 0 auto;
    padding: 0px;
}

/* ===== Account pages ===== */

.account-page {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    padding-top: 30px;
}

.account-sidebar {
    border: 1px solid #e5e5e5;
    padding: 16px;
    background: #fff;
}

.account-sidebar h3 {
    margin: 0 0 14px;
    font-size: 18px;
}

.account-sidebar a {
    display: block;
    padding: 9px 0;
    color: #333;
    border-bottom: 1px solid #eee;
}

.account-sidebar a.active {
    color: #006bd6;
    font-weight: 700;
}

.account-content h1 {
    margin: 0;
    font-size: 24px;
}

.account-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.account-add-btn {
    background: #f5b612;
    padding: 10px 16px;
    font-weight: 700;
}

.account-ads-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.account-ad-card {
    display: grid;
    grid-template-columns: 160px 1fr 160px;
    gap: 16px;
    border: 1px solid #e5e5e5;
    padding: 12px;
    background: #fff;
}

.account-ad-img {
    height: 110px;
    background: #eef2f5;
}

.account-ad-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-photo {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.account-ad-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.account-ad-info p {
    margin: 4px 0;
    color: #555;
}

.account-ad-date {
    font-size: 12px;
    color: #888;
}

.account-ad-side {
    text-align: right;
}

.account-ad-price {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.account-ad-status {
    display: inline-block;
    padding: 5px 9px;
    font-size: 12px;
    background: #eee;
}

.status-published {
    background: #d9f5df;
}

.status-draft {
    background: #eee;
}

.status-moderation {
    background: #fff0c2;
}

.status-rejected {
    background: #ffd7d7;
}

.empty-box {
    border: 1px dashed #ccc;
    padding: 30px;
    color: #777;
}

@media (max-width: 760px) {
    .account-page {
        grid-template-columns: 1fr;
    }

    .account-ad-card {
        grid-template-columns: 1fr;
    }

    .account-ad-side {
        text-align: left;
    }
}

/* ===== Profile cabinet layout ===== */

.account-shell {
    padding-top: 16px;
}

.account-tabs {
    display: flex;
    gap: 28px;
    margin-bottom: 18px;
    font-size: 18px;
}

.account-tabs a {
    color: #222;
}

.account-tabs a.active {
    color: #0057b8;
    font-weight: 700;
}

.account-grid {
    display: grid;
    grid-template-columns: 285px 1fr 285px;
    gap: 22px;
    align-items: stretch;
}

.account-left,
.account-main,
.account-support {
    min-height: 610px;
}

.account-left-card {
    height: 70px;
    border: 1px solid #e5e5e5;
    padding: 16px 18px;
    background: #fff;
}

.account-left-card.active {
    background: #0057b8;
    color: #fff;
}

.account-left-card strong {
    display: block;
    font-size: 14px;
}

.account-left-card span {
    display: block;
    margin-top: 6px;
    font-size: 11px;
}

.account-main {
    background: #f4f4f4;
    padding: 22px;
    position: relative;
}

.profile-workspace {
    min-height: 560px;
    position: relative;
}

.profile-upload {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.profile-avatar {
    width: 58px;
    height: 58px;
    background: #d9d9d9;
    background-size: cover;
    background-position: center;
}

.profile-upload a {
    color: #006bd6;
    font-weight: 700;
    margin-top: 18px;
}

.profile-card-preview {
    width: 320px;
    min-height: 360px;
    background: #fff;
    margin: 40px auto 0;
    padding: 22px;
    font-size: 12px;
}

.profile-card-preview h4 {
    margin: 0 0 14px;
    font-size: 13px;
}

.profile-card-preview label {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    color: #555;
}

.profile-card-preview input,
.profile-card-preview textarea {
    width: 100%;
    border: 1px solid #e5e5e5;
    height: 32px;
    margin-top: 4px;
    padding: 6px;
}

.profile-card-preview textarea {
    height: 80px;
}

.profile-card-preview button {
    display: block;
    margin: 18px 0 0 auto;
    border: 0;
    background: #20c553;
    color: #fff;
    padding: 7px 18px;
    border-radius: 15px;
    font-size: 11px;
}

.save-profile-link {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: #006bd6;
    font-weight: 700;
}

.account-support {
    background: #f4f4f4;
    padding: 16px;
}

.support-box {
    background: #fff;
    min-height: 380px;
    padding: 14px;
    font-size: 12px;
}

.support-message.user {
    text-align: right;
    margin: 20px 0;
}

.support-input {
    display: flex;
    margin-top: 170px;
}

.support-input input {
    flex: 1;
    height: 32px;
    border: 1px solid #ddd;
    padding: 0 8px;
}

.support-input button {
    width: 86px;
    border: 0;
    background: #006bd6;
    color: #fff;
}

.support-links {
    margin-top: 16px;
}

.support-links a {
    display: block;
    color: #006bd6;
    font-size: 12px;
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    .account-tabs {
        flex-wrap: wrap;
        gap: 14px;
        font-size: 15px;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .account-left,
    .account-main,
    .account-support {
        min-height: auto;
    }

    .profile-card-preview {
        width: 100%;
    }
}

.profile-avatar {
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-upload input[type="file"] {
    margin-top: 18px;
}

.profile-card-preview input,
.profile-card-preview textarea {
    font-size: 13px;
}

/* ===== HEADER REAL DESIGN ===== */

.site-header {
    background: #21476f;
    color: #fff;
    padding-top: 14px;
}

.header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    color: #fff;
    line-height: 1;
}

.logo__main {
    font-size: 27px;
    font-weight: 700;
}

.logo__sub {
    margin-top: 3px;
    font-size: 12px;
    letter-spacing: 2px;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 11px;
    font-weight: 700;
}

.header-links a {
    color: #fff;
}

.header-auth {
    display: flex;
    gap: 10px;
}

.header-btn {
    background: #fff;
    color: #21476f;
    padding: 8px 14px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
}

.header-slogan {
    margin-top: 12px;
    padding-bottom: 14px;
    font-size: 22px;
    font-weight: 300;
}

.header-slogan strong {
    font-weight: 700;
}

/* ===== USER HEADER FIX ===== */

.header-user {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 2px;
}

.header-user__profile {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.header-user__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f4c433;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.header-user__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-user__name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .3px;
}

.header-user__balance {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1;
    color: #fff;
}

.header-user__balance strong {
    color: #f4c433;
    font-weight: 700;
}

.header-user__balance span {
    color: #f4c433;
    margin-left: 6px;
}

.header-user__messages {
    position: relative;

    width: 44px;
    height: 44px;

    border-radius: 50%;
    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.header-user__messages svg {
    width: 22px;
    height: 18px;
}

.header-user__badge {
    position: absolute;
    right: -2px;
    top: -2px;

    width: 18px;
    height: 18px;

    border-radius: 50%;
    background: #ff0000;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
    font-weight: 700;
}
/* ===== HEADER ONE-LINE AUTH USER ===== */

.header-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 22px !important;
}

.header-links {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 0 !important;
}

.header-user {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
    margin: 0 !important;
}

.header-user__profile {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.header-user__avatar {
    width: 37px !important;
    height: 37px !important;
}

.header-user__name {
    font-size: 15px !important;
}

.header-user__balance {
    font-size: 10px !important;
}

.header-user__messages {
    width: 37px !important;
    height: 37px !important;
}
.estate-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0,0,0,.22);
    max-width: 300px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.estate-card:hover{
    box-shadow: 0px 0px 5px 5px rgba(174, 195, 219, 1);
}

.estate-card__image {
    position: relative;
    display: block;
    height: 300px;
    overflow: hidden;
}

.estate-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.estate-card__corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 38px;
    height: 34px;
    background: rgba(31,66,105,.75);
    border-radius: 0 0 0 4px;
}

.estate-card__body {
    padding: 9px 10px 7px;
}

.estate-card h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
}

.estate-card__meta {
    font-size: 13px;
    color: #111;
    margin-bottom: 8px;
}

.estate-card__location,
.estate-card__map {
    font-size: 11px;
    color: #8a8a8a;
    line-height: 1.35;
}

.estate-card__map a {
    color: #006bd6;
    margin-left: 8px;
    text-decoration: underline;
}

.estate-card__divider {
    height: 1px;
    background: #e5e5e5;
    margin: 9px 0;
}

.estate-card__description {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.35;
    color: #777;
    font-style: italic;
}

.estate-card__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.estate-card__agency {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 10px;
    color: #777;
}

.estate-card__tag {
    display: inline-block;
    background: #1f4269;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 2px;
    width: fit-content;
}

.estate-card__pricebox {
    text-align: right;
}

.estate-card__price {
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
}

.estate-card__phone {
    margin-top: 4px;
    font-size: 10px;
    color: #111;
}

.estate-card__footer {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    gap: 6px;
    font-size: 10px;
    color: #999;
}

.catalog-results.is-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 22px;
}

/* ===== Ad detail page ===== */

.ad-detail-page {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 20px;
    padding-top: 20px;
}

.ad-detail-right{
    margin-top:28px;
}

.ad-detail-title {
    margin: 0 0 12px;
    font-size: 15px;
}

.detail-map {
    top: 28px;
    background: #eef3f8;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}
.detail-map{
    height:300px;
}
.ad-detail-left .detail-map{
    height:830px;
}

.detail-map button {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: #006bd6;
    color: #fff;
    border: 0;
    padding: 8px 11px;
    width:190px;
    height: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.detail-map button span img{
    width:17px;
    height:17px
}

.detail-gallery {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 8px;
}

.detail-gallery__main {
    height: 497px;
    width:497px;
    background: #eee;
}

.detail-gallery__main img,
.detail-gallery__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-gallery__thumbs {
    display: grid;
    gap: 6px;
    align-content: start;
}

.detail-gallery__thumbs img {
    height: 120px;
}

.detail-gallery__thumbs button {
    height: 42px;
    border: 0;
    background: rgba(0,0,0,.55);
    color: #fff;
}

.seller-card {
    border: 1px solid #e5e5e5;
    padding: 14px;
    background: #fff;
    min-height: 420px;
}

.seller-head {
    display: flex;
    gap: 10px;
    align-items: center;
}

.seller-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ddd;
}

.seller-head p {
    margin: 3px 0 0;
    font-size: 11px;
    color: #777;
}

.seller-message {
    margin: 16px 0;
    font-size: 12px;
    line-height: 1.4;
}

.seller-btn {
    width: 100%;
    height: 36px;
    margin-bottom: 8px;
    border: 0;
    color: #fff;
    font-weight: 700;
}

.seller-btn--blue {
    background: #006bd6;
}

.seller-btn--green {
    background: #13a538;
}

.seller-price {
    margin-top: 14px;
    text-align: right;
}

.seller-price strong {
    display: block;
    font-size: 18px;
}

.seller-price span {
    font-size: 11px;
}

@media (max-width: 900px) {
    .ad-detail-page {
        grid-template-columns: 1fr;
    }

    .detail-map {
        height: 220px;
        position: relative;
    }

    .detail-gallery {
        grid-template-columns: 1fr;
    }

    .detail-gallery__thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
}
.detail-attrs {
    margin-top: 14px;
    background: #fff;
}

.detail-attrs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #e5e5e5;
}

.detail-attrs__grid div {
    padding: 10px 12px;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.detail-attrs__grid span {
    display: block;
    font-size: 11px;
    color: #777;
}

.detail-attrs__grid strong {
    display: block;
    margin-top: 3px;
    font-size: 13px;
}

.detail-info {
    margin-top: 18px;
}

.detail-info h2,
.detail-reviews h2,
.related-ads h2 {
    font-size: 16px;
    margin: 0 0 12px;
}

.detail-info p {
    max-width: 620px;
    font-size: 13px;
    line-height: 1.55;
}

.detail-share {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 18px 0;
}

.detail-share a {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #1d70b8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.detail-reviews {
    margin-top: 20px;
}

.review-card {
    display: flex;
    gap: 12px;
    max-width: 680px;
    border-bottom: 1px solid #eee;
    padding-bottom: 14px;
}

.review-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ddd;
    flex-shrink: 0;
}

.review-head {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 13px;
}

.review-head span {
    color: #ffb400;
    font-size: 12px;
}

.review-card p {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #555;
}

.related-ads {
    margin-top: 26px;
}

.related-ads__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 620px;
}

.related-ads .estate-card__image {
    height: 180px;
}

.related-ads .estate-card h3 {
    font-size: 13px;
}

.related-ads .estate-card__price {
    font-size: 15px;
}

@media (max-width: 760px) {
    .detail-attrs__grid {
        grid-template-columns: 1fr 1fr;
    }

    .related-ads__grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

/* ===== AUTH ===== */

.auth-page {
    min-height: calc(100vh - 220px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 16px;
}

.auth-card {
    width: 100%;
    max-width: 430px;

    background: #fff;

    border-radius: 8px;

    padding: 34px;

    box-shadow: 0 2px 18px rgba(0,0,0,.08);
}

.auth-title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: #21476f;
}

.auth-subtitle {
    margin: 10px 0 26px;
    color: #777;
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-group label {
    display: block;
    margin-bottom: 7px;

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

    color: #333;
}

.auth-group input {
    width: 100%;
    height: 48px;

    border: 1px solid #d8d8d8;
    border-radius: 6px;

    padding: 0 14px;

    font-size: 14px;

    transition: .2s;
}

.auth-group input:focus {
    border-color: #21476f;
    outline: none;

    box-shadow: 0 0 0 3px rgba(33,71,111,.08);
}

.auth-submit {
    height: 50px;

    border: 0;
    border-radius: 6px;

    background: #f4c433;
    color: #222;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: .2s;
}

.auth-submit:hover {
    background: #e7b61f;
}

.auth-bottom {
    margin-top: 22px;

    text-align: center;

    font-size: 13px;
    color: #777;
}

.auth-bottom a {
    color: #21476f;
    font-weight: 700;
}

.view-list-card {
    display: none;
}

.catalog-results.is-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.catalog-results.is-list .view-grid-card {
    display: none;
}

.catalog-results.is-list .view-list-card {
    display: block;
}

.catalog-results.is-grid .view-grid-card {
    display: block;
}

.catalog-results.is-grid .view-list-card {
    display: none;
}

/* ===== STRICT LIST CARD ===== */

.estate-list-card {
    display: grid;
    grid-template-columns: 260px 1fr 210px;
    gap: 18px;

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

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 6px;

    padding: 8px;

    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.estate-list-card__image {
    position: relative;
    display: block;
    height: 255px;
    border-radius: 4px;
    overflow: hidden;
}

.estate-list-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.estate-list-card__corner {
    position: absolute;
    top: 0;
    right: 0;

    width: 36px;
    height: 32px;

    background: rgba(31,66,105,.7);
    border-radius: 0 0 0 4px;
}

.estate-list-card__main {
    padding: 4px 0;
}

.estate-list-card__main h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
}

.estate-list-card__meta {
    font-size: 13px;
    margin-bottom: 8px;
}

.estate-list-card__location,
.estate-list-card__distance {
    font-size: 12px;
    color: #777;
    line-height: 1.35;
}

.estate-list-card__distance a {
    color: #006bd6;
    margin-left: 8px;
    text-decoration: underline;
}

.estate-list-card__divider {
    height: 1px;
    background: #e5e5e5;
    margin: 9px 0;
}

.estate-list-card__description {
    margin: 0 0 9px;
    font-size: 12px;
    line-height: 1.35;
    color: #555;
    font-style: italic;
}

.estate-list-card__question {
    margin-bottom: 6px;
    font-size: 12px;
}

.estate-list-card__message {
    display: flex;
    margin-bottom: 7px;
}

.estate-list-card__message input {
    flex: 1;
    height: 36px;
    border: 1px solid #ddd;
    padding: 0 10px;
    font-size: 12px;
}

.estate-list-card__message button {
    width: 88px;
    border: 0;
    background: #006bd6;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.estate-list-card__links {
    display: flex;
    gap: 16px;
    margin-bottom: 7px;
}

.estate-list-card__links a {
    color: #006bd6;
    font-size: 11px;
}

.estate-list-card__agency {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 10px;
    color: #008b3e;
    font-weight: 700;
}

.estate-list-card__tag {
    display: inline-block;
    width: fit-content;

    background: #1f4269;
    color: #fff;

    padding: 3px 6px;
    border-radius: 2px;

    font-size: 11px;
}

.estate-list-card__date {
    margin-top: 4px;
    font-size: 10px;
    color: #999;
}

.estate-list-card__side {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 8px 0 4px;

    text-align: right;
}

.estate-list-card__seller {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: auto;

    text-align: left;
}

.estate-list-card__avatar {
    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: #d6d6d6;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
}

.estate-list-card__seller strong {
    display: block;
    font-size: 12px;
}

.estate-list-card__seller span {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    color: #777;
}

.estate-list-card__contacts {
    margin-bottom: 10px;
}

.estate-list-card__contacts a {
    display: block;
    color: #008b3e;
    font-size: 12px;
    margin-top: 4px;
}

.estate-list-card__price {
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
}

.estate-list-card__meter {
    margin-top: 4px;
    font-size: 11px;
    color: #111;
}

.estate-list-card__stats {
    margin-top: 8px;
    font-size: 10px;
    color: #999;
}

@media (max-width: 900px) {
    .estate-list-card {
        grid-template-columns: 1fr;
    }

    .estate-list-card__image {
        height: 240px;
    }

    .estate-list-card__side {
        text-align: left;
    }
}
.view-list-card {
    display: none;
}

.catalog-results.is-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.catalog-results.is-list .view-grid-card {
    display: none;
}

.catalog-results.is-list .view-list-card {
    display: block;
}

.catalog-results.is-grid .view-grid-card {
    display: block;
}

.catalog-results.is-grid .view-list-card {
    display: none;
}

/* ===== MAINTENANCE ===== */

.maintenance-page {
    min-height: calc(100vh - 180px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 16px;
}

.maintenance-box {
    width: 100%;
    max-width: 760px;

    background: #fff;

    border-radius: 10px;

    padding: 60px 40px;

    text-align: center;

    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

.maintenance-logo {
    font-size: 42px;
    font-weight: 700;

    color: #21476f;

    margin-bottom: 12px;
}

.maintenance-box h1 {
    margin: 0 0 20px;

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

    color: #222;
}

.maintenance-box p {
    margin: 0 0 12px;

    font-size: 17px;
    line-height: 1.6;

    color: #666;
}

.maintenance-status {
    margin-top: 30px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: #fff4cf;

    color: #8a6500;

    padding: 12px 18px;

    border-radius: 30px;

    font-weight: 700;
}

@media (max-width: 640px) {

    .maintenance-box {
        padding: 40px 24px;
    }

    .maintenance-logo {
        font-size: 34px;
    }

    .maintenance-box h1 {
        font-size: 28px;
    }

    .maintenance-box p {
        font-size: 15px;
    }
}

/* ===== MY ADS PAGE ===== */

.my-ads-shell {
    padding-top: 16px;
}

.my-ads-tabs {
    margin-bottom: 18px;
}

.my-ads-grid {
    display: grid;
    grid-template-columns: repeat(4, 300px);
    gap: 24px;
    align-items: stretch;
}

.my-ads-add-card,
.my-ads-item {
    min-height: 520px;
}

.my-ads-add-card {
    background: #f5f5f5;
    border: 1px solid #ddd;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.my-ads-add-card:hover {
    background: #fafafa;
}

.my-ads-add-card span {
    font-size: 80px;
    color: #d5d5d5;
    line-height: 1;
}

.my-ads-add-card strong {
    margin-top: 14px;
    color: #999;
    font-size: 14px;
}

.my-ads-item {
    display: flex;
    flex-direction: column;
}

.my-ads-item .estate-card {
    width: 100%;
    max-width: none;
    height: 100%;

    display: flex;
    flex-direction: column;
}

.my-ads-item .estate-card__image {
    height: 300px;
    flex-shrink: 0;
}

.my-ads-item .estate-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.my-ads-item .estate-card h3 {
    min-height: 38px;
}

.my-ads-item .estate-card__meta {
    min-height: 20px;
}

.my-ads-item .estate-card__location {
    min-height: 30px;
}

.my-ads-item .estate-card__description {
    min-height: 42px;
}

.my-ads-item .estate-card__bottom-row {
    margin-top: auto;
}

.my-ads-actions,
.my-ads-edit {
    display: block;
    margin-top: 8px;
    text-align: right;
}

.my-ads-actions a,
.my-ads-edit {
    color: #006bd6;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 1300px) {
    .my-ads-grid {
        grid-template-columns: repeat(3, 300px);
    }
}

@media (max-width: 1000px) {
    .my-ads-grid {
        grid-template-columns: repeat(2, 300px);
    }
}

@media (max-width: 700px) {
    .my-ads-grid {
        grid-template-columns: 1fr;
    }

    .my-ads-add-card,
    .my-ads-item {
        min-height: auto;
    }

    .catalog-results.is-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.create-ad-shell {
    margin: 0 auto;
    padding-top: 16px;
    background: #fff;
}

.create-ad-form h1 {
    margin-bottom: 24px;
    font-size: 28px;
    color: #21476f;
}

.create-ad-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.create-ad-card {
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 24px;
}

.create-ad-card h2 {
    margin: 0 0 20px;
    font-size: 18px;
    color: #21476f;
}

.create-ad-card label {
    display: block;
    margin: 12px 0 6px;
    font-size: 13px;
    font-weight: 600;
}

.create-ad-card input,
.create-ad-card select,
.create-ad-card textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    padding: 10px 12px;
}

.create-ad-card textarea {
    min-height: 120px;
}

.create-ad-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.create-ad-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    align-items: center;
}

.create-ad-actions button {
    background: #f4b51b;
    color: #000;
    border: 0;
    border-radius: 4px;
    height: 44px;
    padding: 0 24px;
    font-weight: 700;
    cursor: pointer;
}

.create-ad-actions button:hover {
    background: #e6a600;
}

.upload-area {
    min-height: 240px;
    border: 2px dashed #d9d9d9;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.upload-area.is-dragover {
    border-color: #f4b51b;
    background: #fff8df;
}

.upload-content {
    text-align: center;
}

.upload-icon {
    font-size: 52px;
    margin-bottom: 12px;
}

.upload-content h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.upload-content p {
    margin: 0 0 16px;
    color: #777;
}

.upload-btn {
    border: 0;
    background: #f4b51b;
    padding: 12px 22px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

.image-preview-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 12px;
}

.preview-image {
    position: relative;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    background: #eee;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.65);
    color: #fff;
    cursor: pointer;
}

.preview-image {
    cursor: grab;
}

.preview-image.is-main {
    outline: 3px solid #f4b51b;
}

.preview-badge {
    display: none;
    position: absolute;
    left: 6px;
    top: 6px;
    background: #f4b51b;
    color: #111;
    padding: 4px 7px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
}

.preview-image.is-main .preview-badge {
    display: block;
}

.preview-main {
    position: absolute;
    left: 6px;
    bottom: 6px;
    border: 0;
    background: rgba(33,71,111,.9);
    color: #fff;
    padding: 5px 8px;
    font-size: 11px;
    cursor: pointer;
}

.existing-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 160px));
    gap: 16px;
}

.existing-image {
    position: relative;
    height: 160px;

    overflow: hidden;
    border-radius: 8px;

    background: #f5f5f5;

    border: 2px solid #dfe5eb;

    box-shadow: 0 2px 8px rgba(0,0,0,.08);

    transition: .2s;
}

.existing-image.is-main {
    border-color: #f4b51b;
}

.existing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.existing-main-label {
    position: absolute;
    top: 8px;
    left: 8px;

    background: #f4b51b;
    color: #111;

    padding: 4px 8px;

    border-radius: 4px;

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

.existing-image-actions {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

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

    padding: 8px;

    background: linear-gradient(
        to top,
        rgba(0,0,0,.8),
        rgba(0,0,0,.3)
    );
}

.existing-image-actions label {
    display: flex;
    align-items: center;
    gap: 4px;

    margin: 0;

    color: #fff;

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

    cursor: pointer;
}

.existing-image-actions .delete {
    color: #ffbcbc;
}

.existing-image-actions input {
    margin: 0;
}

.map-picker {
    margin-top: 14px;
}

.map-picker__map {
    width: 100%;
    height: 320px;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
    overflow: hidden;
}

.map-picker__hint {
    margin-top: 8px;
    font-size: 12px;
    color: #777;
}

.catalog-map-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;

    background: rgba(0,0,0,.55);
}

.catalog-map-modal.is-open {
    display: block;
}

.catalog-map-modal__panel {
    position: absolute;
    inset: 30px;

    display: grid;
    grid-template-columns: 360px 1fr;

    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.catalog-map-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;

    width: 38px;
    height: 38px;

    border: 0;
    border-radius: 50%;

    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);

    font-size: 26px;
    cursor: pointer;
}

.catalog-map-modal__sidebar {
    padding: 20px;
    overflow-y: auto;
    border-right: 1px solid #e5e5e5;
}

.catalog-map-modal__sidebar h2 {
    margin: 0 0 16px;
    font-size: 22px;
    color: #21476f;
}

.catalog-map-modal__map {
    width: 100%;
    height: 100%;
}

.catalog-map-item {
    display: block;

    padding: 12px;
    margin-bottom: 10px;

    border: 1px solid #e5e5e5;
    border-radius: 6px;

    background: #fff;
}

.catalog-map-item:hover {
    border-color: #21476f;
}

.catalog-map-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.catalog-map-item span {
    display: block;
    font-size: 12px;
    color: #777;
}

.catalog-map-item b {
    display: block;
    margin-top: 6px;
    font-size: 16px;
}

@media (max-width: 900px) {
    .catalog-map-modal__panel {
        inset: 10px;
        grid-template-columns: 1fr;
        grid-template-rows: 220px 1fr;
    }

    .catalog-map-modal__sidebar {
        order: 2;
    }

    .catalog-map-modal__map {
        order: 1;
    }
}

.detail-map {
    background: #fff;
    overflow: hidden;
}

.detail-map__google {
    width: 100%;
    height: 830px;
}

.detail-map__info {
    padding: 14px;
    background: #fff;
}

.detail-map__info strong {
    display: block;
    margin-bottom: 5px;
    color: #21476f;
    font-size: 14px;
}

.detail-map__info p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.seller-btn--opened {
    background: #21476f;
    color: #fff;
    cursor: default;
}

.seller-card {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 16px;
}

.seller-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.seller-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e2e2e2;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #21476f;
    font-size: 20px;
    font-weight: 700;
}

.seller-head strong {
    display: block;
    font-size: 16px;
    color: #111;
}

.seller-head p {
    margin: 3px 0 0;
    font-size: 12px;
    color: #777;
}

.seller-message {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #333;
}

.seller-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 42px;
    margin-bottom: 10px;

    border: 0;
    border-radius: 4px;

    color: #fff;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    text-decoration: none;
}

.seller-btn--blue {
    background: #006bd6;
}

.seller-btn--green {
    background: #20b455;
}

.seller-price {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    text-align: right;
}

.seller-price strong {
    display: block;
    font-size: 26px;
    line-height: 1;
}

.seller-price span {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #555;
}

.seller-meta {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eee;
}

.seller-meta div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    font-size: 12px;
    color: #666;
}

.seller-meta strong {
    color: #111;
}

.header-user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-user__logout-icon {
    font-size: 22px;
    color: #21476f;
    text-decoration: none;
}

.header-user__logout {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border-radius: 50%;
    background:#fff;
    color: #21476f;
    text-decoration: none;

    transition: .2s;
}

.header-user__logout:hover {
    background: #f4b51b;
    color: #fff;
}

.mobile-menu-btn {
    display: none;
}

.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .site-header {
        padding: 10px 0 16px;
    }

    .header-top {
        align-items: center;
    }

    .logo__main {
        font-size: 24px;
    }

    .logo__sub {
        font-size: 10px;
    }

    .header-right {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex;
        width: 40px;
        height: 40px;

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

        border: 0;
        background: transparent;

        color: #fff;
        font-size: 28px;
        cursor: pointer;
    }

    .mobile-menu {
        margin-top: 12px;
        padding: 10px 0;

        border-top: 1px solid rgba(255,255,255,.18);
    }

    .mobile-menu.is-open {
        display: block;
    }

    .mobile-menu a {
        display: block;
        padding: 11px 0;

        color: #fff;
        font-size: 14px;
        font-weight: 700;

        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .header-slogan {
        margin-top: 14px;
        margin-bottom:14px;
        font-size: 18px;
        line-height: 1.25;
        max-width: 320px;
    }
    .create-ad-grid {
        grid-template-columns: repeat(1, 1fr);
     
    }
}

.login-google-btn {

    display: flex;
    align-items: center;
    justify-content: center;

    height: 48px;

    background: #fff;

    border: 1px solid #d9d9d9;

    border-radius: 6px;

    color: #333;

    font-weight: 700;

    text-decoration: none;
}

.login-google-btn:hover {
    border-color: #21476f;
}

.auth-messages {
    margin-bottom: 18px;
}

.auth-message {
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.auth-message--error {
    background: #fff1f1;
    color: #b00020;
    border: 1px solid #ffd2d2;
}

.auth-message--success {
    background: #eefaf1;
    color: #16833a;
    border: 1px solid #c9efd2;
}

.sidebar-catalog-map {
    width: 100%;
    height: 100%;
}

.sidebar-map-card {
    overflow: hidden;
}

.estate-card__image {
    position: relative;
}

.estate-card__favorite {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 36px;
    height: 36px;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.95);
    color: #21476f;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    transition: .2s;
}

.estate-card__favorite svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.estate-card__favorite:hover,
.estate-card__favorite.is-active {
    background: #f4b51b;
    color: #fff;
}

.estate-card__favorite.is-active svg {
    fill: currentColor;
}