html, body {
overflow-x: hidden;
}

*{
box-sizing:border-box;
margin:0;
padding:0;
}

body{
font-family:'Inter', sans-serif;
background:#e9edf2;
color:#1a202c;
line-height:1.5;
}

.container{
max-width:1400px;
margin:auto;
padding:24px;
}

/* header */

.header{
background:#ffffff;
padding:2px 0;
border-bottom:3px solid #1f7a52;
}

/* mobile */

@media (max-width:900px){

.header{
padding:10px 0;
}

}

@media(max-width:600px){

.header{
padding:0;
}

}

.header h1{
font-size:30px;
font-weight:700;
color:#1f7a52;
}


.listing-title {
font-size:16px;
font-weight:500;
}

@media(max-width:600px){
    .listing-title{
        font-size:24px;
	
    }
}


.subtitle{
font-size:14px;
color:#4a5568;
margin-top:5px;
}

/* mobile */

@media (max-width:900px){

.subtitle{
font-size:22px;
}

}

@media(max-width:600px){

.site-title{
font-size:28px;
}

}

/* header layout */

.header-flex{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:15px;
}

/* search */

.search-form{
display:flex;
gap:12px;
align-items:center;
}

@media (min-width: 1024px){
    .search-form{
        min-width: 400px;
    }
}


.search-form input{
padding:12px 16px;
border:2px solid #cbd5e0;
border-radius:24px;
width:100%;
min-width:0;
font-size:16px;
background:white;
}

.search-form input::placeholder{
font-size:15px;
}

.search-form input:focus{
outline:none;
border-color:#1f7a52;
}

.search-form button{
padding:12px 22px;
border:none;
background:#1f7a52;
color:white;
border-radius:24px;
cursor:pointer;
font-weight:600;
font-size:15px;
}

.search-form button:hover{
background:#276749;
}

/* layout */

.layout{
display:grid;
grid-template-columns:250px 1fr;
gap:30px;
margin-top:10px;
}

/* sidebar */

.sidebar{
background:white;
padding:22px;
border-radius:12px;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.filter-group{
margin-bottom:26px;
}

.filter-group h3{
font-size:16px;
margin-bottom:10px;
color:#4a5568;
}

.filter-link{
display:flex;
align-items:center;
gap:10px;
padding:9px 12px;
border-radius:8px;
text-decoration:none;
color:#1a202c;
font-size:14px;
transition:0.2s;
}


@media(max-width:600px){
	.filter-link{
	font-size:22px;
	}
}


.filter-link:hover{
background:#edf2f7;
}

.filter-active{
background:#1f7a52;
color:white;
}

.filter-link input[type="checkbox"]{
width:16px;
height:16px;
margin:0;
accent-color:#1f7a52;
}


/* table */

.property-table{
	max-width:1100px;
	margin:0 auto;
	border-collapse:collapse;
	background:white;
	border-radius:12px;
	overflow:hidden;
	box-shadow:0 3px 14px rgba(0,0,0,0.05);
}

.property-table th{
text-align:left;
padding:14px;
background:#f7fafc;
border-bottom:2px solid #cbd5e0;
font-size:13px;
text-transform:uppercase;
letter-spacing:0.5px;
}


.property-table a{
text-decoration:none;
}

.property-table td{
padding:14px;
border-bottom:1px solid #edf2f7;
font-size:14px;
}


@media(max-width:600px){
	
	
	
	.property-table th{
	padding:8px;
	background:#f7fafc;
	border-bottom:2px solid #cbd5e0;
	font-size:14px;
	text-transform:uppercase;
	letter-spacing:0.5px;
	}

	.property-table td{
    overflow:hidden;
	}

    .property-table td::before {
        content: attr(data-label) " ";
        font-size:20px;
		font-weight: 600;
        color: #666;
        display: inline-block;
        margin-right: 4px;
    }


	.property-table td:nth-child(2){
		word-break:break-word;   /* если вдруг длинное число */
	}
}


.property-table tr:last-child td{
border-bottom:none;
}

.property-table tr:hover{
background:#e5e5e5;
}

.listing-link{
color:#1f7a52;
text-decoration:none;
font-weight:600;
display:block;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.listing-link:hover{
text-decoration:underline;
}

@media(max-width:600px){
	.listing-link{
	font-size:16px;
	font-weight:400;
	}
}


/* active filters */

.active-filters{
text-align:center;
margin-bottom:20px;
}

.active-filter{
display:inline-block;
background:#1f7a52;
color:white;
padding:6px 12px;
margin:3px;
border-radius:20px;
text-decoration:none;
font-size:13px;
}

.active-filter:hover{
background:#276749;
}


/* MOBILE */
@media (max-width:600px){

.active-filter{
font-size:18px;
padding:10px 16px;
}

}





/* clickable rows */

.clickable-row{
cursor:pointer;
transition:0.15s;
}

.clicked-row{
background:#e6fffa !important;
}

/* footer */

/* footer */

.footer{
    margin-top:60px;
    background:white;
    border-top:2px solid #e2e8f0;
    font-size:13px;
    color:#4a5568;
    padding:26px 20px;
}

.footer-inner{
    max-width:1100px;
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
}



.footer-brand{
    font-weight:600;
}

.footer-sub{
    font-size:12px;
    color:#718096;
    margin-top:4px;
}



.footer-links{
    display:flex;
    flex-wrap:wrap;
    gap:12px 16px;
    justify-content:flex-end;
}

.footer-links a{
    text-decoration:none;
    color:#4a5568;
    padding:6px 8px;
    border-radius:6px;
    transition:0.2s;
}

.footer-links a:hover{
    background:#edf2f7;
    color:#1f7a52;
}



.donate-link{
    font-weight:600;
    color:#1f7a52;
}



@media (max-width:900px){
    .footer-inner{
        flex-direction:column;
        align-items:flex-start;
    }

    .footer-links{
        justify-content:flex-start;
    }
}



@media (max-width:600px){

    .footer{
        padding:22px 16px;
    }

    .footer-brand{
        font-size:18px;
    }

    .footer-sub{
        font-size:14px;
    }

    .footer-links{
        width:100%;
        flex-direction:column;
        gap:8px;
        margin-top:10px;
    }

    .footer-links a{
        display:block;
        width:100%;
        padding:12px 14px;
        background:#f5f5f5;
        border-radius:10px;
        font-size:18px;
    }

    .footer-links a:hover{
        background:#e2e8f0;
    }
}



/* mobile */

@media (max-width:900px){

	.layout{
	grid-template-columns:1fr;
	}

	.sidebar{
	order:-1;
	}

	.property-table th{
	font-size:13px;
	}

	.property-table td{
	font-size:16px;
	}

	
}

/* MOBILE TABLE RESTRUCTURE */

@media(max-width:600px){

	.search-form{
	width:100%;
	}

	.search-form input{
	flex:1;
	}

	.search-form input{
	font-size:18px;
	padding:14px;
	}

	.search-form button{
	font-size:16px;
	padding:14px 18px;
	}



	.property-table{
	background:transparent;
	box-shadow:none;
	}


	.property-table tr{
	display:flex;
	flex-wrap:wrap;
	padding:16px 14px;
	margin-bottom:16px;

	background:#ffffff;
	border-radius:14px;

	box-shadow:0 6px 18px rgba(0,0,0,0.08);
	border:1px solid #e2e8f0;

	border-bottom:none;
	}

	.property-table tr:hover{
	transform:translateY(-2px);
	box-shadow:0 6px 14px rgba(0,0,0,0.08);
	}



	.property-table td{
			border:none;
			font-size:22px;
			padding:6px 0;
		}

	/* title */

	.property-table td:nth-child(1){
	width:100%;
	}

	/* price */

	.property-table td:nth-child(2){
	width:50%;
	}

	/* bedrooms */

	.property-table td:nth-child(3){
	width:25%;
	}

	/* bathrooms */

	.property-table td:nth-child(4){
	width:25%;
	}

	/* area */

	.property-table td:nth-child(5){
	width:50%;
	}

	/* link */

	.property-table td:nth-child(6){
	width:50%;
	}

	.property-table td:first-child{
	word-break:break-word;
	}

}


.currency,
.price{
white-space:nowrap;

}

.price {
		font-size:1.2em;
		font-weight:600;
		
	}

.currency{
font-size:0.8em;
vertical-align:center;
}





@media(max-width:600px){

.price{
    display:inline;
    font-size:20px;
    font-weight:700;
}

.currency{
    display:inline;
    font-size:14px;
    opacity:0.7;
}

}




.update-timer{
text-align:right;
font-size:13px;
line-height:1.2;
margin-left:20px;
}

.update-label{
color:#777;
}

.update-countdown{
font-weight:600;
font-size:15px;
}

#countdown{
font-family:monospace;
}

.site-title a{
text-decoration:none;
color:inherit;
}





.demo-banner {
    position: relative;
    width: 100%;
    background: #ffcc00;
    height: 40px;
}

/* абсолютное центрирование */
.demo-banner span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    
    font-size: 14px;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
}





#loadMoreBtn{
    background:#1f7a52;
    color:white;
    border:none;

    padding:14px 28px;
    border-radius:999px;

    font-size:15px;
    font-weight:600;

    cursor:pointer;
    transition:0.2s ease;

    box-shadow:0 4px 14px rgba(0,0,0,0.10);

    display:flex;
    align-items:center;
    justify-content:center;

    min-width:180px;

    margin:20px auto;
}

/* hover (только на устройствах где есть hover) */
@media (hover:hover){
    #loadMoreBtn:hover{
        background:#276749;
        transform:translateY(-1px);
    }
}

#loadMoreBtn:active{
    transform:translateY(0px) scale(0.98);
}

/* disabled */
#loadMoreBtn:disabled{
    background:#a0aec0;
    cursor:not-allowed;
    box-shadow:none;
    transform:none;
}



/* MOBILE */
@media (max-width:600px){

    #loadMoreBtn{
        width:100%;
        max-width:320px;
        padding:16px 20px;
        font-size:16px;
        border-radius:14px;
        box-shadow:0 6px 18px rgba(0,0,0,0.12);
    }
}












.top-nav {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.top-nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    gap: 12px;
}

/* блок с логином/вьюсами */
.top-nav-flex > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* текст views / email */
.listing-count {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* кнопки */
.main-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #4a5568;
    padding: 6px 10px;
    border-radius: 8px;
    
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* =========================
   MOBILE FIX (ОДНА СТРОКА)
========================= */
@media (max-width: 600px) {

    .top-nav-flex {
        display: flex !important;
        flex-direction: row !important;

        justify-content: flex-start !important;
        align-items: center !important;

        flex-wrap: nowrap !important;
        gap: 10px !important;

        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;

        text-align: left !important;
    }

    /* УБИРАЕМ ЛЮБЫЕ СМЕЩЕНИЯ ВПРАВО */
    .top-nav,
    .top-nav * {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .top-nav-flex > div {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .listing-count {
        font-size: 15px;
        font-weight: 600;
        white-space: nowrap;
    }

    .main-nav {
        display: none;
    }

    .main-nav a {
        font-size: 15px;
        padding: 6px 10px;
        white-space: nowrap;
    }
}





.market-activity {
    background: #0f172a;
    color: #fff;
    border-bottom: 1px solid #1e293b;
    padding: 5px 0;
}

/* вся строка */
.activity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* главное число */
.activity-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.total {
    font-size: 24px;   /* было 22 */
    font-weight: bold;
}

@media (max-width: 768px) {
    .total {
        font-size: 32px; /* больше на мобилках */
    }
}

.muted {
    font-size: 14px;   /* было 13 */
    opacity: 0.7;
}


@media (max-width: 768px) {
    .muted {
        font-size: 26px; /* больше на мобилках */
    }
}



/* события */
.activity-stats {
    display: flex;
    gap: 18px;         /* чуть больше воздуха */
    font-size: 15px;   /* было 14 */
}

@media (max-width: 768px) {
    .activity-stats {
        font-size: 22px; /* больше на мобилках */
    }
}




.stat {
    opacity: 0.9;
}

.stat.positive {
    color: #22c55e;
    font-weight: 500;
}

/* таймер */
.activity-timer {
    font-size: 15px;   /* было 14 */
    font-weight: 500;
}

.activity-timer span {
    margin-left: 5px;
    font-weight: bold;
}




.results-info {
    margin: 0 auto 5px auto;
    font-size: 15px;
    color: #444;
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 6px;
    display: block;
    width: fit-content;
    text-align: center;
}





/* PRICE RANGE INPUT FILTER */
.price-range-form{
    margin-top:12px;
    padding-top:10px;
    border-top:1px solid #e2e8f0;
    display:flex;
    flex-direction:column;
    gap:8px;
}

.price-range-row{
    display:flex;
    gap:8px;
}

.price-range-form input[type="number"]{
    width:50%;
    padding:8px 10px;
    border:1px solid #cbd5e0;
    border-radius:8px;
    font-size:14px;
    outline:none;
    background:#fff;
}

.price-range-form input[type="number"]:focus{
    border-color:#1f7a52;
    box-shadow:0 0 0 2px rgba(31,122,82,0.15);
}

.price-range-form button{
    width:100%;
    padding:10px 12px;
    border:none;
    border-radius:10px;
    background:#1f7a52;
    color:#fff;
    font-weight:600;
    font-size:14px;
    cursor:pointer;
    transition:0.2s;
}

.price-range-form button:hover{
    background:#276749;
}

.price-range-form button:active{
    transform:scale(0.98);
}

/* mobile */
@media (max-width:600px){
    .price-range-form input[type="number"]{
        font-size:18px;
        padding:12px;
    }

    .price-range-form button{
        font-size:16px;
        padding:14px;
    }
}







/* ADD THIS TO YOUR CSS FILE */
/* MOBILE SIDEBAR TOGGLE */
@media (max-width:900px){

    .sidebar{
        position:fixed;
        top:0;
        right:-100%;
        width:260px;
        height:100%;
        z-index:999;
        overflow-y:auto;
        transition:0.3s ease;
        border-radius:0;
    }

    .sidebar.active{
        right:0;
    }

    .sidebar-overlay{
        position:fixed;
        top:0;
        left:0;
        width:100%;
        height:100%;
        background:rgba(0,0,0,0.4);
        z-index:998;
        opacity:0;
        pointer-events:none;
        transition:0.3s;
    }

    .sidebar-overlay.active{
        opacity:1;
        pointer-events:auto;
    }

    .menu-toggle{
        position:fixed;
        top:12px;
        right:12px;
        width:42px;
        height:42px;

        background:transparent;
        box-shadow:none;

        border-radius:8px;
        display:flex;
        align-items:center;
        justify-content:center;
        z-index:1000;
        cursor:pointer;
    }

    .menu-toggle span{
        display:block;
        width:20px;
        height:2px;
        background:#222;
        position:relative;
    }

    .menu-toggle span::before,
    .menu-toggle span::after{
        content:'';
        position:absolute;
        width:20px;
        height:2px;
        background:#222;
        left:0;
    }

    /* ВОТ ЭТО БЫЛО ПОТЕРЯНО */
    .menu-toggle span::before{
        top:-6px;
    }

    .menu-toggle span::after{
        top:6px;
    }

    /* лёгкий эффект нажатия */
    .menu-toggle:active{
        opacity:0.6;
    }

}





/* SUBMIT FORM */

.feedback-form{
    max-width:520px;
    margin:40px auto;
    background:white;
    padding:28px 32px;
    border-radius:14px;
    box-shadow:0 4px 18px rgba(0,0,0,0.06);
}

.feedback-form label{
    display:block;
	margin:10px auto;
    font-size:14px;
    font-weight:600;
    margin-bottom:8px;
    color:#4a5568;
}

.feedback-form input{
    width:100%;
    padding:12px 14px;
    border:1px solid #cbd5e0;
    border-radius:10px;
    font-size:14px;
    background:#fff;
    transition:0.2s;
}

.feedback-form input:focus{
    outline:none;
    border-color:#1f7a52;
    box-shadow:0 0 0 3px rgba(31,122,82,0.15);
}

.feedback-form button{
    width:100%;
    margin-top:10px;
    padding:14px;
    border:none;
    border-radius:12px;
    background:#1f7a52;
    color:white;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:0.2s;
}

/* hover только где есть hover */
@media (hover:hover){
    .feedback-form button:hover{
        background:#276749;
        transform:translateY(-1px);
    }
}

.feedback-form button:active{
    transform:scale(0.98);
}

/* MOBILE */

@media(max-width:600px){

    .feedback-form{
        margin:20px;
        padding:22px;
        border-radius:12px;
    }

    .feedback-form label{
        font-size:18px;
    }

    .feedback-form input{
        font-size:18px;
        padding:14px;
    }

    .feedback-form button{
        font-size:18px;
        padding:16px;
    }
}




.donate-row td {
    padding: 0;
    border: none;
}

.donate-box {
    background: #ааа;
    border: 1px solid #f0d98a;
    padding: 16px;
    text-align: center;
    border-radius: 8px;
    margin: 10px;
    font-size: 16px;
    line-height: 1.4;
}

.donate-box a {
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 768px) {

    .donate-box {
        margin: 6px;
        padding: 12px;
        font-size: 22px;
        border-radius: 6px;
    }

    .donate-box a {
        display: inline-block;
        margin-top: 6px;
        font-size: 22px;
    }

}




@media (max-width: 768px) {

    .mobile-nav .main-nav {
		
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .mobile-nav .main-nav a {
		font-size: 22px;
        display: block;
        padding: 10px;
        background: #f5f5f5;
        border-radius: 8px;
    }
}





.feedback-form h2 {
    text-align: center;
    color: #1f7a52;
}



.login-extra{
    text-align:center;
    margin-top:20px;
    font-size:14px;
    color:#4a5568;
}

.login-extra a{
    display:inline-block;
    margin-top:6px;
    color:#1f7a52;
    text-decoration:none;
    font-weight:600;
}

.login-extra a:hover{
    text-decoration:underline;
}






.top-nav-inner{
    max-width:1400px;
    margin:auto;
    padding:0 12px;
}






/* ===== Base block ===== */
.limit-box {
    background: linear-gradient(135deg, #fff1f1, #ffecec);
    padding: 16px 18px;
    margin: 20px 0;
    border: 1px solid #ffb3b3;
    border-radius: 10px;
    font-size: 14px;

    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;

    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Title */
.limit-box__title {
    color: #b00020;
    font-weight: 700;
}

/* Text */
.limit-box__text {
    color: #333;
}

/* Button */
.limit-box__btn {
    background: #111;
    color: #fff;
    padding: 9px 14px;
    text-decoration: none;
    display: inline-block;
    border-radius: 6px;

    font-weight: 600;
    font-size: 12px;

    transition: all 0.2s ease;
}

/* Hover effect */
.limit-box__btn:hover {
    transform: translateY(-2px);
    background: #000;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* ===== Mobile / small screens ===== */
@media (max-width: 768px) {
    .limit-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        white-space: normal;
    }

    .limit-box__title {
        width: 100%;
    }

    .limit-box__text {
        width: 100%;
        line-height: 1.4;
    }

    .limit-box__actions {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .limit-box__btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
        padding: 12px 16px;
        font-size: 16px;
        border-radius: 10px;
    }
}


/* ===== Very small phones ===== */
@media (max-width: 420px) {
    .limit-box {
        padding: 16px;
        font-size: 16px;
    }

    .limit-box__btn {
        font-size: 16px;
        padding: 10px;
    }
}


.limit-box__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.limit-box__btn {
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}




/* ===== GET ACCESS BLOCK ===== */

.getaccess_box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.getaccess_title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.getaccess_subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.getaccess_features {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.getaccess_btn {
    display: inline-block;
    background: #ff7a00;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(255,122,0,0.3);
    transition: all 0.2s ease;
}

.getaccess_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(255,122,0,0.4);
}

.getaccess_views {
    margin-top: 12px;
    font-size: 13px;
    color: #888;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {

    .getaccess_box {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .getaccess_title {
        font-size: 24px;
    }

    .getaccess_subtitle {
        font-size: 19px;
    }

    .getaccess_features {
        font-size: 19px;
    }

    .getaccess_btn {
        display: block;
        width: 100%;
        font-size: 20px;
        padding: 18px;
        border-radius: 10px;
    }

    .getaccess_views {
        font-size: 18px;
    }
}