html, body {
overflow-x: hidden;
}

*{
box-sizing:border-box;
margin:0;
padding:0;
}

body{
font-family:'Inter', sans-serif;
background:#e9edf2;
color:#000;
line-height:1.5;
}

.container{
max-width:1400px;
margin:auto;
padding:10px;
}

@media (max-width: 768px) {
	.container{
	padding:14px;
	}
}

.header{
padding:10px 0;
}


/* 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:20px;
	
    }
}


/* 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:#000;
}

.filter-link{
display:flex;
align-items:center;
gap:10px;
padding:9px 12px;
border-radius:8px;
text-decoration:none;
color:#000;
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:nth-child(5)::before {
        display: none;
        content: none;
    }

    .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:inline;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.listing-link:hover{
text-decoration:underline;
}

@media(max-width:600px){
	.listing-link{
	font-size:18px;
	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;
padding:12px 22px;
}

.clicked-row{
background:#e6fffa !important;
}

/* footer */

/* === FOOTER BASE === */

.footer{
    margin-top:60px;
    background:white;
    border-top:2px solid #e2e8f0;
    font-size:13px;
    color:#000;
    padding:26px 20px;
}

/* === LAYOUT === */

.footer-inner{
    max-width:1100px;
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
}

/* === BRAND BLOCK === */

.footer-brand{
    font-weight:600;
    max-width:340px;
    flex:1;
    line-height:1.4;
}

.footer-sub{
    font-size:12px;
    color:#718096;
    margin-top:6px;
    line-height:1.4;
}

.footer-note{
    font-size:11px;
    color:#a0aec0;
    margin-top:6px;
    line-height:1.4;
}

/* === LINKS === */

.footer-links{
    display:flex;
    flex-wrap:wrap;
    gap:10px 14px;
    justify-content:flex-end;
    max-width:600px;
}

.footer-links a{
    text-decoration:none;
    color:#000;
    padding:6px 8px;
    border-radius:6px;
    transition:0.15s;
    white-space:nowrap;
}

.footer-links a:hover{
    background:#edf2f7;
    color:#1f7a52;
}

/* === BOTTOM BLOCK === */

.footer-bottom{
    margin-top:18px;
    padding-top:14px;
    border-top:1px solid #edf2f7;
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:10px;
}

.footer-copy{
    font-size:11px;
    color:#a0aec0;
}

.footer-disclaimer{
    font-size:11px;
    color:#a0aec0;
    max-width:600px;
    line-height:1.4;
}

/* === MOBILE === */

@media (max-width:900px){

    .footer-inner{
        flex-direction:column;
        gap:20px;
    }

    .footer-links{
        justify-content:flex-start;
        max-width:100%;
    }
}

@media (max-width:600px){

    .footer{
        padding:22px 16px;
    }

    .footer-links{
        width:100%;
        flex-direction:column;
        gap:8px;
    }

    .footer-links a{
        display:block;
        width:100%;
        padding:12px 14px;
        background:#f5f5f5;
        border-radius:10px;
        font-size:15px;
    }
}

/* 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){


	.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:24px;
    font-weight:700;
}

.currency{
    display:inline;
    font-size:14px;
    opacity:0.7;
}

}

#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);
    }
}




/* 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;
    }
}







/* MOBILE SIDEBAR TOGGLE */
@media (max-width:900px){

    .sidebar{
		display:none !important;
        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;
    }

   

}





/* 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:#000;
}

.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;
    }

}






.feedback-form h2 {
    text-align: center;
    color: #1f7a52;
}



.login-extra{
    text-align:center;
    margin-top:20px;
    font-size:14px;
    color:#000;
}

.login-extra a{
    display:inline-block;
    margin-top:6px;
    color:#1f7a52;
    text-decoration:none;
    font-weight:600;
}

.login-extra a:hover{
    text-decoration:underline;
}










/* ===== 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;
    }
}



.export-wrap{
    margin:0;
    max-width:none;
}

.export-btn{
    display:inline-block;
    background:#f7fafc;
    color:#1f7a52;
    padding:8px 14px;
    border-radius:8px;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    border:1px solid #cbd5e0;
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
    transition:0.2s ease;
}

@media (hover:hover){
    .export-btn:hover{
        background:#edf2f7; /* чуть темнее базового */
        border-color:#a0aec0;
        transform:translateY(-1px);
    }
}

.export-btn:active{
    transform:scale(0.98);
}



@media(max-width:600px){
	.export-btn{
    font-size:15px;
	}
}	
	
	


.results-bar{
    max-width:1100px;
    margin:0 auto 10px;

    display:flex;
    align-items:center;
    justify-content:space-between;
}





.results-info {
    margin: 0;
    font-size: 14px;
	font-weight:600;
    color: #444;
    
    padding: 8px 12px;
    border-radius: 6px;
    display: block;
    width:auto;
}








.price-history-icon {
    clear:left;
	
    
    text-decoration:none;
    font-size:13px;
}


.price-history-icon:hover {
    opacity:1;
}


.price-down {
    color:#d32f2f;
}

.price-up {
    color:#2e7d32;
}

.price-percent {
    font-size:11px;
    margin-left:3px;
}







.deal-label {
    color: #1e6fd9;
    font-size: 12px;
    margin-left: 6px;
}

@media (max-width: 480px) {
	.deal-label {
		font-size: 18px;
	}
}



