@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Play:wght@400;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Play', sans-serif;
}

h1 {
    font-size: 68px;
    font-weight: 800;
    margin-bottom: 40px;
}

h2 {
    font-size: 45px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 20px;
}

p {
    font-size: 18px;
}

input {
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
    border-radius: 30px;
    border: 1px solid #c7c7c7;
}

select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f5f5f5;
    border-radius: 4px;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: #333;
    text-overflow: ellipsis;
    white-space: nowrap;
}

select:focus {
    outline: none;
    border-color: #fac900;
    box-shadow: 0 0 0 2px rgba(250, 201, 0, 0.2);
}

select:focus option[value=''] {
    display: none;
}

li {
    list-style: none;
}
a {
    text-decoration: none;
    color: #1d1d1d;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.filter-col {
    margin: 3px;
}
.filter-col label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
}

.size-range-inputs {
    width: 100%;
}

.size-range-inputs .input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.size-range-inputs input {
    flex: 1;
    padding: 10px;
    margin-bottom: 0;
    height: 40px;
    border-radius: 10px;
    font-size: 14px;
}

.input-group-separator {
    font-weight: bold;
    color: #666;
}

.price-range-dropdown {
    padding: 15px;
    min-width: 250px;
}

.range-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.range-inputs .input-field {
    margin-bottom: 10px;
}

.range-inputs label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
}

.range-inputs input {
    padding: 10px;
    height: 40px;
    border-radius: 10px;
    font-size: 14px;
    width: 100%;
    margin-bottom: 0;
}

.custom-select-dropdown.open {
    z-index: 100;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
}

.wp-submit,
.btn-yellow,
.wpcf7-submit {
    background-color: #fac900;
    color: #1d1d1d;
    cursor: pointer;
}

.wp-submit:hover,
.btn-yellow:hover,
.wpcf7-submit:hover {
    background-color: #e6ba01;
}

.btn-white {
    background: white;
    color: #1d1d1d;
}
header {
    box-shadow: 0 0 28px 0 #00000016;
    background-color: #f3f3f2;
    margin: 0;
}
.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 16px 20px;
}

.header-menu ul {
    display: flex;
}

.header-menu li {
    font-family: 'Play', sans-serif;
    padding: 10px 25px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 10px;
}

.current-menu-item {
    transition: background-color 0.3s ease;
    background-color: #fac900;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

.header-menu li:hover {
    background-color: #fac900;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.header-logo {
    width: 200px;
}

.header-logo img {
    width: 100%;
}

.header-phone,
.header-auth {
    font-family: 'Play', sans-serif;
    font-size: 25px;
    font-weight: bold;
    margin: 0 20px;
    transition: opacity 0.3s ease;
}

.header-phone:hover,
.header-auth:hover {
    opacity: 0.8;
}

.header-icons {
    display: flex;
    justify-self: end;
}

.header-social {
    display: flex;
    align-items: center;
    margin: 0 30px;
}

.header-social a {
    margin: 0 7px;
    transition: opacity 0.3s ease;
}

.header-social a:hover {
    opacity: 0.8;
}

.header-social img {
    width: 30px;
}

.custom-slider {
    position: relative;
    height: 800px;
    overflow: hidden;
    color: white;
    margin: 30px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

.slide-backgrounds {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    will-change: opacity;
    backface-visibility: hidden;
}

.bg-slide.active {
    opacity: 1;
}

.slide-overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
}

.content {
    max-width: 50%;
    margin: 0 auto;
}

.buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.desc {
    max-width: 50%;
    font-size: 22px;
    line-height: 1.4;
    margin: 0 auto;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.slider-nav button {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 32px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    cursor: pointer;
    transition: 0.3s;
}

.dots span.active {
    opacity: 1;
    background: #fac900;
}

.logo-carousel {
    overflow: hidden;
    background-color: #f5f5f5;
    padding: 20px 0;
    position: relative;
    width: calc(100% - 0px);
    margin: 10px 0;
    box-sizing: border-box;
}

.carousel-track {
    display: flex;
    gap: 60px;
    width: max-content;
    will-change: transform;
}

.logo-slide {
    height: 150px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-slide img {
    max-width: 150px;
    opacity: 0.5;
    transition: 0.3s;
}

.logo-slide img:hover {
    opacity: 1;
}

.new-catalog-block {
    width: 100%;
    background: #f5f5f5;
    padding: 40px 20px;
    box-sizing: border-box;
}

.new-catalog-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
}

.new-catalog-text {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 40px;
}

.new-catalog-text h2 {
    margin: 0 0 16px;
    font-size: 32px;
}

.new-catalog-text p {
    flex: 1;
    margin: 0 0 16px;
    line-height: 1.6;
}

.new-catalog-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #fac900;
    color: #000;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.new-catalog-btn:hover {
    background: #fac900;
}

.new-catalog-images {
    flex: 2 1 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.large-img {
    width: 100%;
    max-width: 800px;
    height: 300px;
    overflow: hidden;
    border-radius: 16px;
}

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

.small-imgs {
    display: flex;
    gap: 20px;
}

.small-imgs img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
}

@media (max-width: 992px) {
    .new-catalog-inner {
        flex-direction: column;
    }

    .new-catalog-images {
        align-items: center;
    }

    .small-imgs {
        justify-content: center;
    }
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow: auto;
}
.login-submit input {
    background-color: #fac900;
    color: #1d1d1d;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
}

.login-submit input:hover {
    background-color: #e6ba01;
}
.modal-inner {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s;
    text-align: center;
}

.modal-overlay .modal-close {
    color: #999;
    position: absolute;
    top: 7px;
    right: 21px;
    font-size: 35px;
    font-weight: normal;
    cursor: pointer;
    background: none;
    border: none;
}

.modal-overlay .modal-close:hover {
    color: #333;
}

.modal-overlay.active {
    display: block;
}

.modal-inner form {
    margin-top: 20px;
}

.modal-inner label {
    display: block;
}

.modal-content {
    margin-top: 20px;
}

.copy-url-ok_button {
    width: 180px;
    background-color: #fac900;
    color: #1d1d1d;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

.modal-content .button:hover {
    background-color: #e6ba01;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    text-align: left;
}

.modal-inner label[for='user_login'],
.modal-inner label[for='user_pass'] {
    display: none;
}

.modal-inner input[type='text'],
.modal-inner input[type='password'] {
    padding: 15px 20px;
    margin-bottom: 20px;
    width: 100%;
    border-radius: 30px;
    border: 1px solid #c7c7c7;
}

.modal-inner .login-remember {
    text-align: left;
    margin-bottom: 15px;
}

.modal-inner .login-remember label {
    display: inline-flex;
    align-items: center;
    font-weight: normal;
}

.modal-inner .login-remember input[type='checkbox'] {
    margin-right: 5px;
    margin-top: 0;
    margin-bottom: 0;
    vertical-align: middle;
    width: 21px;
}

.modal-inner .wp-submit {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.catalog-block {
    position: relative;
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    max-width: 100%;
    margin: 0 30px;
    gap: 40px;
    padding: 50px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

.catalog-content h2 {
    margin-bottom: 30px;
}

.catalog-content p {
    width: 550px;
    margin-bottom: 400px;
    line-height: 1.6;
}

.catalog-btn-container {
    text-align: center;
    margin-top: 30px;
    position: absolute;
    bottom: 50px;
}

.catalog-btn {
    font-size: 20px;
    padding: 20px 0;
    width: 550px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.catalog-btn .arrow {
    margin-left: 8px;
    transition: transform 0.3s;
}

.arrow img {
    width: 18px;
}

.catalog-btn:hover .arrow {
    transform: translateX(4px);
}

.catalog-items {
    height: 700px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.catalog-items h3 {
    font-size: 24px;
}

.catalog-item-bg {
    width: 100%;
    padding-top: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.9);
    transition: transform 0.4s ease, filter 0.4s ease;
    -webkit-filter: brightness(0.9);
}

.catalog-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 100%;
}

.catalog-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: all 0.9s ease;
    -webkit-transition: all 0.9s ease;
    -moz-transition: all 0.9s ease;
    -ms-transition: all 0.9s ease;
    -o-transition: all 0.9s ease;
}

.catalog-item-overlay h3 {
    color: #fff;
    font-size: 28px;
    margin: 0;
    transition: all 1s ease;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
}
.catalog-item-overlay h4 {
    color: #fff;
    font-size: 22px;
    margin: 0;
    transition: all 1s ease;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
}

.catalog-item-overlay p {
    color: #1d1d1d;
    max-width: 90%;
    opacity: 0;
    height: 0;
    margin: 0;
    transition: all 1s ease;
    overflow: hidden;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
}

.catalog-item:hover .catalog-item-overlay {
    background: #fac900;
    justify-content: flex-start;
    padding-top: 40px;
}

.catalog-item:hover .catalog-item-overlay h3 {
    color: #1d1d1d;
    margin-bottom: 20px;
    text-shadow: none;
}
.catalog-item:hover .catalog-item-overlay h4 {
    color: #1d1d1d;
    margin-bottom: 20px;
    text-shadow: none;
}
.catalog-item:hover .catalog-item-overlay p {
    opacity: 1;
    height: auto;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.5;
    transition: opacity 0.3s ease-in-out;
}

.popular-property {
    padding: 60px 0;
    background-color: #f5f5f5;
    overflow: hidden;
}

.popular-property h2 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.popular-property-carousel {
    position: relative;
    margin: 0 auto;
    max-width: 1920px;
    padding: 0 20px;
}

.popular-property-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    transition: transform 0.5s ease;
}

.popular-property-slide {
    padding: 0 10px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
    margin: 0 10px;
    width: 25%;
}

.popular-property-slide .property-card {
    width: 100%;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.popular-property-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.popular-prev,
.popular-next {
    background-color: #fac900;
    border: none;
    color: #1d1d1d;
    cursor: pointer;
    font-size: 18px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.popular-prev:hover,
.popular-next:hover {
    background-color: #e6b800;
}

.popular-dots {
    display: flex;
    justify-content: center;
    align-items: center;
}

.popular-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.popular-dot.active {
    background-color: #fac900;
}
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    padding: 0 15px;
}

.filter-tag {
    background-color: #fac900;
    color: #1d1d1d;
    padding: 5px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.filter-tag .remove-tag {
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    gap: 10px;
    background-color: #eceaea;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

.pagination .current {
    background-color: #fac900;
    color: #1d1d1d;
    font-weight: 700;
}

.pagination .dots {
    width: auto;
    background: none;
}

.pagination .next,
.pagination .prev {
    font-size: 18px;
}

.catalog-item:hover .catalog-item-bg {
    transform: scale(1.05);
    filter: brightness(1);
}

.about-us {
    background: #1d1d1d;
    height: 560px;
    color: #fff;
    padding: 55px;
    margin: 40px 30px;
    border-radius: 15px;
}

.about-us_container {
    display: flex;
}

.about-left {
    width: 45%;
    margin-right: 30px;
}

.about-left h2 {
    margin-bottom: 30px;
}

.about-left_features li {
    list-style: square;
    font-size: 20px;
    margin-left: 20px;
}

.about-left_btn {
    margin-top: 180px;
}

.about-right {
    width: 54%;
}

.about-right_subtitle {
    font-size: 36px;
    margin-bottom: 30px;
}

.about-right_text {
    font-size: 20px;
}

.about-right_numbers {
    display: flex;
    margin-top: 100px;
}

.about-right_item {
    margin-left: 10px;
    width: 19%;
}

.about-right_number {
    font-size: 60px;
}

.our-rules {
    background: #fff;
    height: 690px;
    color: #1d1d1d;
    padding: 55px;
    margin: 40px 30px;
    border-radius: 15px;
}

.our-rules_container {
    display: flex;
}

.our-rules_left {
    width: 45%;
    margin-right: 50px;
}

.our-rules_left img {
    width: 300px;
    margin-left: 390px;
}

.our-rules_right {
    width: 54%;
}

.our-rules_subtitle {
    font-size: 36px;
    margin-bottom: 30px;
}

.our-rules_features {
    display: flex;
    flex-wrap: wrap;
}

.features-item_icon {
    margin-bottom: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
}

.icon1 {
    background: #d7e2e8;
}

.icon2 {
    background: #b9cbd9;
}

.icon3 {
    background: #cfe3e2;
}

.icon4 {
    background: #e3e0ec;
}

.icon5 {
    background: #feddd8;
}

.icon6 {
    background: #eae7e2;
}

.features-item_icon img {
    width: 60%;
    margin: 0 auto;
}

.features-item {
    margin: 30px 20px 0 0;
    width: 31%;
}

.reviews {
    margin: 100px 30px;
}

.reviews-header {
    display: flex;
}

.reviews-header h2 {
    width: 38%;
    margin-left: 60px;
}

.reviews-header_subtitle {
    font-size: 30px;
    margin-bottom: 30px;
    width: 55%;
}

.reviews-slider {
    position: relative;
    margin: 40px 30px;
}

.reviews-slider-wrapper {
    overflow: hidden;
    width: 92%;
    margin: 0 auto;
}

.reviews-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.review-slide {
    background: #fff;
    flex: 0 0 calc((100% - 40px) / 3);
    box-sizing: border-box;
    text-align: center;
    padding: 40px;
    border-radius: 25px;
}

.review-photo img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 0 auto 10px;
}

.review-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.review-text {
    font-size: 14px;
    line-height: 1.4;
}

.reviews-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #333;
    border: none;
    width: 46px;
    height: 46px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    border-radius: 30px;
}

.reviews-nav.prev {
    left: 10px;
}

.reviews-nav.next {
    right: 10px;
}

.property-single {
    background: #fff;
    width: 100%;
    padding: 40px 40px 70px;
}

.property-single_container {
    display: flex;
}
.property-single_details-mob {
    display: none;
}
.property-single_left {
    width: 40%;
    margin-right: 30px;
}

.single_left_info {
    box-shadow: 0 0 28px 0 #00000016;
    padding: 30px;
    border-radius: 15px;
}

.property-social-btn {
    display: flex;
    align-items: center;
}

.property-social-btn a {
    margin-left: 15px;
}

.property-social-btn img {
    width: 24px;
}

.property-info_first-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.first-line-text {
    display: flex;
    align-items: flex-end;
}

.property-price {
    font-family: 'Play', sans-serif;
    font-size: 36px;
    font-weight: bold;
    margin-right: 20px;
}

.property-price-per-metr,
.property-id {
    font-size: 16px;
    margin: 0 20px 7px 0;
    color: #979595;
}

.single_left_info h1 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 26px;
}

.property-info_meta {
    display: flex;
    flex-wrap: wrap;
}

.info_meta_item {
    display: flex;
    width: 210px;
    min-height: 50px;
    background: #efefef;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 0 10px 10px 0;
    align-items: center;
}

.info_meta_item img {
    margin-right: 10px;
    width: 24px;
}

.info_meta_item p {
    font-size: 16px;
}

.single_left_author {
    box-shadow: 0 0 28px 0 #00000016;
    padding: 30px;
    border-radius: 15px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.single_author_avatar {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 50%;
}

.single_author_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single_author_name h3 {
    font-size: 24px;
}

.single_author_social {
    display: flex;
}

.single_author_social img {
    width: 34px;
}

.single_author_social a {
    margin: 20px 14px 0 0;
}

.single_author_phone {
    text-align: right;
}

.single_author_phone a {
    font-size: 20px;
}

.single_author_btn {
    margin-top: 16px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.single_author_btn img {
    width: 24px;
    margin-right: 10px;
}

.property-single_right {
    width: 58%;
}

.property-single_details {
    margin: 20px 0;
}

.property-single_details h2 {
    margin-bottom: 20px;
}
.property-single_details-mob {
    margin: 20px 0;
}

.property-single_details-mob h2 {
    margin-bottom: 20px;
}
.custom-gallery {
    display: flex;
    gap: 20px;
    max-width: 100%;
    align-items: flex-start;
}

.mobile-bottom-menu {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    justify-content: space-around;
    padding: 10px 0 5px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-bottom-menu.visible {
    transform: translateY(0);
}

.mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    width: 20%;
    position: relative;
}

.mobile-bottom-item img {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

.mobile-bottom-item span {
    text-align: center;
}

.mobile-bottom-item-featured {
    margin-top: -30px;
}

.mobile-bottom-item-circle {
    width: 56px;
    height: 56px;
    background: linear-gradient(to bottom, #fac900, #ff8a00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mobile-bottom-item-circle img {
    width: 28px;
    height: 28px;
    margin-bottom: 0;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .mobile-bottom-menu {
        display: flex;
    }

    body {
        padding-bottom: 60px;
    }

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

    .catalog-btn-container {
        position: relative;
        bottom: auto;
        margin-top: 30px;
    }

    .catalog-block.full-width-block {
        padding: 30px 15px;
    }
}

.cf7-form-container {
    max-width: 100%;
    margin: 0 auto;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-select,
.form-control {
    width: 100%;
    padding: 15px 20px;
    border-radius: 30px;
    border: 1px solid #c7c7c7;
    font-size: 16px;
    transition: border-color 0.3s;
    background-color: #fff;
}

.form-select:focus,
.form-control:focus {
    outline: none;
    border-color: #fac900;
    box-shadow: 0 0 0 2px rgba(250, 201, 0, 0.2);
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.wpcf7-response-output {
    margin: 20px 0 0;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.wpcf7 form.invalid .wpcf7-response-output {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow: auto;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s;
    text-align: center;
}

.modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.modal-logo {
    width: 200px;
    height: auto;
    margin-bottom: 15px;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.modal-close {
    color: #999;
    position: absolute;
    top: 7px;
    right: 21px;
    font-size: 35px;
    font-weight: normal;
    cursor: pointer;
}

.modal-close:hover {
    color: #333;
}

.callback-form input[type='submit']:hover {
    background-color: #f5cc00;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.modal-open {
    overflow: hidden;
}

.gallery-main {
    max-width: 80%;
    height: 520px;
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 15px;
}

.slide {
    display: none;
    width: 100%;
    height: 520px;
    padding-top: 56.25%;
    background-size: cover;
    background-position: center;
}

.slide.active {
    display: block;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 34px;
    height: 34px;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50px;
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.gallery-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.gallery-dots span.active {
    background: #fac900;
}

.gallery-thumbs {
    position: relative;
    width: 170px;
    height: 520px;
    overflow: hidden;
}

.thumbs-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s ease;
}

.thumb {
    width: 100%;
    height: 30%;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.2s;
}

.thumb.active,
.thumb:hover {
    opacity: 1;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.thumb-prev,
.thumb-next {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 2;
    border-radius: 15px;
}

.thumb-prev {
    top: 5px;
}

.thumb-next {
    bottom: 5px;
}

.filter-section {
    display: flex;
}

.property-archive-container {
    background: #fff;
    overflow-x: hidden;
    width: 100%;
}
.property-archive-container h1 {
    font-size: 30px;
    margin: 20px 40px 0;
}

.property-archive-container .container {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}
#favorites {
    background: #fff;
    padding: 20px 30px;
}

.no-results {
    padding: 20px 0 20px 40px;
    font-size: 16px;
    font-family: 'Play', sans-serif;
}

.property-filters {
    padding: 20px 30px;
}

#property-filter-form {
    display: flex;
    justify-content: space-between;
}

.filter-container {
    width: 62%;
    display: flex;
    flex-wrap: wrap;
}

.buttons-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.filter-col.additional-filter {
    display: none;
}

#property-filter-form.show-all-filters .filter-col.additional-filter {
    display: block;
}
.filter-more,
.filter-reset,
.filter-submit {
    font-size: 15px;
    width: 190px;
    height: 47px;
}
.filter-submit {
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    border: none;
    background: #000;
    color: #fff;
}
.filter-reset {
    border-radius: 4px;
    border: none;
    background: #dcedfc;
    color: #333;
}
.filter-more {
    background-color: #f5f5f5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.filter-more:hover {
    background-color: #e0e0e0;
}

.filter-actions {
    display: flex;
    gap: 10px;
}

.custom-select-container {
    position: relative;
    width: 100%;
    margin: 3px;
}

.custom-select-header {
    width: 170px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 14px 15px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select-header svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease-in-out;
    flex-shrink: 0;
    margin-left: 8px;
}

.custom-select-header.open svg {
    transform: rotate(180deg);
}
.selected-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow: 1;
}
.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 100%;
    width: auto;
    white-space: nowrap;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
    z-index: 10;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    visibility: hidden;
}

.custom-select-dropdown.open {
    max-height: 300px;
    overflow-y: auto;
    visibility: visible;
    min-width: 100%;
    width: auto;
    background: #f8f9fa;
    border-radius: 10px;
}

.custom-select-options {
    padding: 10px 0;
}

.custom-select-option {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1;
    border-bottom: 1px solid #f0f0f0;
}

.custom-select-option label {
    display: inline-block;
    margin-bottom: 0;
    line-height: 1;
    vertical-align: middle;
}

.custom-select-option:hover {
    background-color: #f5f5f5;
}

.custom-select-option input {
    margin-right: 10px;
    margin-top: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.custom-select-container.multiselect .custom-select-dropdown.open {
    max-height: 400px;
    min-width: 100%;
    width: auto;
    background: #f8f9fa;
    border-radius: 10px;
}

.custom-select-container.multiselect .custom-select-option {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.custom-select-container.multiselect .custom-select-option:last-child,
.custom-select-container .custom-select-option:last-child {
    border-bottom: none;
}

.custom-select-container.multiselect .custom-select-option input[type='checkbox'] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    background-color: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.custom-select-container.multiselect .custom-select-option input[type='checkbox']:checked {
    background-color: #fac900;
    border-color: #fac900;
}

.custom-select-container.multiselect .custom-select-option input[type='checkbox']:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-select-container.multiselect .custom-select-option:first-child,
.custom-select-container .custom-select-option:first-child {
    border-bottom: 2px solid #eee;
    font-weight: 500;
}

.custom-select-container.multiselect .custom-select-option label {
    cursor: pointer;
    flex: 1;
}

.custom-select-option input[type='radio'] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    background-color: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.custom-select-option input[type='radio']:checked {
    background-color: #fac900;
    border-color: #fac900;
}

.custom-select-option input[type='radio']:checked:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.custom-select-option input {
    padding: 7px;
}
.custom-select-option label {
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.price-range-dropdown,
.size-range-dropdown,
.land-size-range-dropdown {
    padding: 10px 0;
    min-width: 240px;
    max-height: 400px;
    width: auto;
    background: #f8f9fa;
    border-radius: 10px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #eaeaea;
}

.range-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
}

.input-field {
    display: flex;
    flex-direction: column;
}

.input-field label {
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
    color: #555;
}

.input-field input {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 14px;
    margin-bottom: 0;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.input-field input:focus {
    border-color: #3b68d6;
    outline: none;
}

.input-field input[type='number']::-webkit-inner-spin-button,
.input-field input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.input-field input[type='number'] {
    -moz-appearance: textfield;
}

.properties-grid {
    display: flex;
    flex-wrap: wrap;
    background-color: #eceaea;
    padding: 50px 30px;
    border-radius: 15px;
}

.property-card {
    width: 23.7%;
    background: #fff;
    box-shadow: 0 0 28px 0 #00000016;
    border-radius: 15px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    height: 550px;
    position: relative;
}
.property-price-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 12px 16px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 20px;
    z-index: 3;
}

.property-card:hover .property-price-overlay {
    background-color: rgba(0, 0, 0, 0.8);
}

.property-no-image {
    position: relative;
}

.property-no-image .property-price-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}
.property-slide {
    border-radius: 15px 15px 0 0;
}

.property-card h3 {
    font-size: 20px;
    padding: 16px 20px 0;
    height: 70px;
    overflow: hidden;
    margin-bottom: 0;
}

.property-card h3 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
    text-decoration: none;
    line-height: 1.3;
    max-height: 52px;
}
.property-card-meta {
    display: flex;
    flex-wrap: wrap;
    padding: 0 20px;
}

.property-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    padding-bottom: 70px;
}

.property-meta-area {
    width: 100%;
    font-size: 18px;
    color: #616161;
    margin: 20px 0;
}
.property-meta-item {
    background: #ececec;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 7px;
    margin-right: 10px;
}
.property-meta-item:first-child {
    padding: 0;
}
.property-meta-item:last-child {
    border-right: none;
}
.property-meta-item img {
    width: 28px;
    margin-right: 10px;
}
.property-card-actions {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}
.btn-primary {
    height: 56px;
}
.property-social-actions img {
    width: 24px;
}
.property-social-item {
    display: flex;
    justify-content: end;
    margin-bottom: 10px;
}
.property-social-item p {
    font-size: 16px;
    margin-right: 10px;
}

.property-card-gallery {
    position: relative;
    overflow: hidden;
    height: 250px;
    flex-shrink: 0;
}

.property-gallery-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.property-gallery-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.property-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
}

.property-slide.active {
    opacity: 1;
    display: block;
    z-index: 1;
}

.property-gallery-prev,
.property-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

.property-gallery-prev {
    left: 10px;
}

.property-gallery-next {
    right: 10px;
}

.about-page {
    padding: 55px 30px;
}
.about-page h1,
.about-page h3 {
    color: white;
}
.about-page h1 {
    font-size: 48px;
}
.about-page h3 {
    font-size: 22px;
    margin-bottom: 10px;
}
.about-page-content {
    display: flex;
    gap: 30px;
}

.about-page-left {
    width: 40%;
    min-height: 600px;
    background: #1d1d1d;
    border-radius: 25px;
    padding: 50px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
}

.about-btn-container {
    margin-top: 30px;
}

.about-page-left .catalog-btn {
    font-size: 20px;
    padding: 20px 0;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.about-page-left .footer-contacts {
    width: 100%;
    padding: 0;
}

.about-page-right {
    width: 59%;
    min-height: 600px;
    border-radius: 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    overflow: hidden;
    color: #fff;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
}

.about-page-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/2025/04/budinki.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: -1;
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
}

.about-page-subtitle {
    font-size: 36px;
    line-height: 1.4;
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-page_numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 50px;
    gap: 20px;
}

.about-page_item {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 15px;
    flex: 1;
    min-width: 150px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.about-page_item:hover {
    transform: translateY(-5px);
}

.about-page_number {
    font-size: 42px;
    font-weight: bold;
    color: #fac900;
    margin-bottom: 10px;
}

.about-page_text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.team-section {
    padding: 50px 0;
    margin-bottom: 50px;
}

.team-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1d1d1d;
}

.team-carousel {
    margin: 0 auto;
    max-width: 1200px;
}

.team-member {
    padding: 15px;
}

.team-member-inner {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-member-inner:hover {
    transform: translateY(-5px);
}

.team-member-photo {
    height: 300px;
    background-color: #f5f5f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-info {
    padding: 15px;
}
.team-member-info h3 {
    color: #1d1d1d;
}

.team-member-name {
    font-size: 18px;
    margin: 0 0 5px;
    color: #1d1d1d;
}

.team-member-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #c1c8eb;
    text-decoration: none;
    color: #1d1d1d;
    transition: background 0.3s ease;
}

.team-member-link:hover {
    background: #fac900;
}

.team-member-button {
    font-family: 'Play', sans-serif;
    font-weight: 700;
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: #ffffff;
    color: #1d1d1d;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

.team-member-button .arrow {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.team-member-button .arrow img {
    width: 16px;
    height: auto;
    vertical-align: middle;
}

.team-member-button:hover {
    background-color: #fac900;
    color: #1d1d1d;
}

.team-member-button:hover .arrow {
    transform: translateX(10px);
}

.team-carousel .slick-prev,
.team-carousel .slick-next {
    width: 40px;
    height: 40px;
    background: #fac900;
    border-radius: 50%;
    z-index: 1;
}

.team-carousel .slick-prev:hover,
.team-carousel .slick-next:hover {
    background: #e6b800;
}

.team-carousel .slick-prev:before,
.team-carousel .slick-next:before {
    color: #1d1d1d;
    font-size: 20px;
}

.team-carousel .slick-prev {
    left: -20px;
}

.team-carousel .slick-next {
    right: -20px;
}

.team-carousel .slick-dots li button:before {
    font-size: 12px;
    color: #ddd;
}

.team-carousel .slick-dots li.slick-active button:before {
    color: #fac900;
}

footer {
    background: #1d1d1d;
    border-radius: 25px 25px 0 0;
}

.footer-container {
    display: flex;
    padding: 55px;
}

.footer-contacts {
    width: 50%;
    padding: 50px 0 0 70px;
}

.footer-menu ul {
    display: flex;
}

.footer-menu a {
    color: #fff;
    margin-right: 25px;
    font-size: 22px;
    font-weight: bold;
}

.footer-menu .current-menu-item {
    background-color: transparent;
}

.footer-logo {
    width: 220px;
    margin-bottom: 40px;
}

.footer-contacts h2 {
    color: #fff;
}

.footer-adress {
    margin-bottom: 20px;
}

.footer-adress a {
    color: #fff;
    font-size: 22px;
    margin-bottom: 20px;
}

.footer-phone {
    margin-bottom: 20px;
}

.footer-phone a {
    color: #fff;
    font-size: 25px;
    font-weight: bold;
}

.footer-social {
    display: flex;
    margin-bottom: 35px;
}

.footer-social img {
    margin-right: 25px;
    width: 40px;
}

.footer-form_container {
    width: 50%;
    display: flex;
    justify-content: center;
}

.footer-form {
    width: 550px;
    background: #fff;
    padding: 25px 35px 0;
    border-radius: 25px;
}

.footer-form_description {
    margin: 10px 0 25px 0;
}

.wpcf7-submit {
    font-size: 20px;
    padding: 20px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    border: none;
}

.mobile-filter-button {
    display: none;
    background-color: #f5f5f5;
    color: #1d1d1d;
    padding: 12px 0;
    font-weight: 600;
    cursor: pointer;
    margin: 16px 30px 30px;
    text-align: center;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e0e0e0;
    box-sizing: border-box;
    overflow: hidden;
}

.mobile-filter-button-text {
    margin-right: 10px;
    font-size: 16px;
}

.mobile-filter-button img {
    width: 22px;
    height: 22px;
}

.mobile-filter-panel {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.mobile-filter-panel.active {
    left: 0;
}

.mobile-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.mobile-filter-overlay.active {
    display: block;
}

.mobile-filter-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.mobile-filter-back {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.mobile-filter-back svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.mobile-filter-content .filter-col {
    width: 100%;
    margin-bottom: 15px;
}

.mobile-filter-content .custom-select-container {
    width: 100%;
}

.mobile-filter-content .custom-select-header {
    width: 100%;
}

.mobile-filter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.mobile-filter-actions button {
    width: 100%;
    padding: 12px 0;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.mobile-filter-search {
    background-color: #000;
    color: #fff;
    border: none;
}

.mobile-filter-reset {
    background-color: #f0f0f0;
    color: #333;
    border: none;
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    position: absolute;
    left: 20px;
    top: 44%;
    transform: translateY(-50%);
    z-index: 100;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: #fff;
    z-index: 999;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.mobile-menu-panel.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.mobile-menu-close {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.mobile-menu-close svg {
    width: 100%;
    height: 100%;
    stroke: #000;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    height: calc(100% - 50px);
}

.mobile-nav {
    margin-bottom: 30px;
}

.mobile-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-items li {
    margin-bottom: 15px;
}

.mobile-menu-items a {
    font-size: 18px;
    color: #000;
    text-decoration: none;
    display: block;
    padding: 8px 16px;
    border-bottom: 1px solid #eee;
}

.mobile-phone {
    margin-bottom: 30px;
}

.mobile-phone a {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

.mobile-social {
    display: flex;
    gap: 15px;
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.mobile-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-social img {
    width: 24px;
    height: 24px;
}

.author-page {
    padding: 40px 0;
}

.author-header {
    margin-bottom: 40px;
}

.author-info {
    display: flex;
    align-items: center;
    padding: 30px;
}

.author-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 30px;
}

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

.author-details h1 {
    margin-bottom: 10px;
    font-size: 32px;
}

.author-position {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.author-phone {
    margin-bottom: 15px;
}

.author-phone a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.author-social h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.author-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.author-social h3 {
    width: 100%;
    margin-bottom: 10px;
}

.author-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
}

.author-social .social-icon:hover {
    background-color: #e0e0e0;
}

.author-social img {
    width: 24px;
    height: 24px;
}

.author-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.author-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.author-card .author-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.author-card .author-details {
    width: 100%;
}

.author-card .author-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.author-card .author-description {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
    max-height: 150px;
    overflow-y: auto;
    padding: 0 10px;
}

.author-card .author-description p {
    margin-bottom: 10px;
}

.author-card .author-position {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.author-card .author-phone {
    margin-bottom: 15px;
}

.author-card .author-phone a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.author-card .author-social {
    margin-bottom: 20px;
}

.author-card .author-social h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.author-card .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.author-card .author-property-count {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.author-properties h2 {
    margin-bottom: 30px;
}

.no-properties {
    padding: 30px;
    background-color: #f5f5f5;
    border-radius: 10px;
    text-align: center;
}

@media (max-width: 1650px) {
    .property-card {
        width: 31%;
    }
    .catalog-item-overlay h3 {
        font-size: 24px;
    }
    .catalog-item-overlay h4 {
        font-size: 20px;
    }
    .catalog-item-bg {
        height: 100%;
    }
    .popular-property-slide {
        margin: 0;
    }
    .about-right_number {
        font-size: 50px;
    }
    .about-right_text {
        font-size: 18px;
    }
    .our-rules {
        height: auto;
        padding: 25px 55px;
    }
    .our-rules_subtitle {
        font-size: 28px;
    }
    .features-item {
        width: 47%;
    }
    .review-text p {
        font-size: 16px;
    }
    .property-single_left {
        width: 45%;
    }
}
@media (max-width: 1550px) {
    .property-social-item p {
        font-size: 15px;
    }
    .about-us {
        height: 590px;
    }
    .about-right_item {
        margin-left: 22px;
        width: 21%;
    }
    .about-right_item:nth-child(1) {
        margin-left: 0;
    }
}
@media (max-width: 1500px) {
    .site-header {
        position: relative;
        background-color: #fff;
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 16px 16px;
        margin: 0;
    }

    .mobile-menu-button {
        display: flex;
        transform: none;
        margin-right: 15px;
    }

    .header-logo {
        flex: 1;
        display: flex;
        justify-content: center;
    }
    .header-logo img {
        width: 180px;
    }

    .header-menu.desktop-menu {
        display: none;
    }

    .header-icons {
        display: flex;
        align-items: center;
        position: static;
        transform: none;
    }

    .header-phone,
    .header-social {
        display: none;
    }

    .header-auth {
        margin-left: 0;
    }
    .catalog-block {
        padding: 50px 0;
    }
    .catalog-item-overlay h3 {
        font-size: 22px;
    }
    .catalog-items {
        height: auto;
    }
    .catalog-item-overlay {
        padding: 14px;
    }
    .property-card-actions .btn-primary {
        height: 54px;
    }
    .property-card-actions .btn {
        padding: 15px 26px;
        font-size: 16px;
    }
    .property-meta-item {
        margin-right: 5px;
    }
    .property-meta-item img {
        width: 22px;
    }
    .property-meta-item span {
        font-size: 14px;
    }
    .property-meta-area {
        font-size: 16px;
        margin: 16px 0;
    }
    .property-card h3 {
        padding: 16px 14px 0;
    }
    .property-card-meta {
        padding: 0 14px;
    }
    .property-card-actions {
        padding: 10px 14px;
    }
}

@media (max-width: 1400px) {
    h1 {
        font-size: 48px;
    }
    .custom-slider {
        height: 700px;
    }
    .content {
        max-width: 70%;
    }
    .our-rules {
        height: auto;
        padding: 35px;
        margin: 40px 0;
    }
    .our-rules_container {
        flex-wrap: wrap;
    }
    .our-rules_left img {
        display: none;
    }
    .our-rules_left {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    .our-rules_right {
        width: 100%;
    }
    .our-rules_subtitle {
        font-size: 24px;
    }
    .property-single_container {
        flex-wrap: wrap;
    }
    .property-single_left,
    .property-single_right {
        width: 100%;
    }
    .property-single_left {
        order: 2;
        margin-right: 0;
        margin-top: 20px;
    }
    .property-single_details {
        display: none;
    }
    .property-single_details-mob {
        display: block;
    }
    .about-us {
        height: auto;
        padding: 30px;
    }
    .about-right_numbers {
        flex-wrap: wrap;
        margin-top: 40px;
    }
    .about-right_subtitle {
        font-size: 24px;
    }
    .about-right_item {
        margin-top: 22px;
    }
    .about-right_item:nth-child(1) {
        margin-left: 22px;
    }
}
@media (min-width: 1351px) {
    .popular-property .container {
        max-width: 100%;
        padding: 0;
    }

    .popular-property-carousel {
        max-width: 100%;
        padding: 0 40px;
    }
}

@media (max-width: 1350px) {
    h1 {
        font-size: 45px;
    }
    h2 {
        font-size: 28px;
    }
    .desc {
        font-size: 18px;
        width: 100%;
    }

    .popular-property-slide {
        width: 33.333%;
    }
    .catalog-block.full-width-block {
        display: flex;
        flex-direction: column;
        padding: 30px 15px 100px;
    }

    .catalog-content {
        width: 100%;
        order: 1;
        display: flex;
        flex-direction: column;
    }

    .catalog-content h2 {
        margin-bottom: 15px;
    }

    .catalog-content p {
        width: 100%;
        margin-bottom: 20px;
    }
    .catalog-item-overlay h3 {
        font-size: 25px;
    }
    .catalog-items {
        width: 100%;
        order: 2;
        margin-bottom: 0;
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        gap: 20px;
    }

    .catalog-btn-container {
        order: 3;
        width: 100%;
        margin-top: 30px;
        bottom: 0;
    }

    .catalog-btn {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    .about-us_container {
        flex-wrap: wrap;
    }
    .about-us {
        height: auto;
        position: relative;
        padding-bottom: 100px;
    }
    .about-left {
        width: 100%;
        margin-right: 0;
    }
    .about-left_btn {
        position: absolute;
        bottom: 50px;
        left: 0;
        right: 0;
        text-align: center;
        margin-top: 0;
    }
    .about-left_btn .catalog-btn {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    .about-right {
        width: 100%;
    }

    .property-card {
        width: 40%;
    }
}

@media (max-width: 1200px) {
    .about-us {
        padding-bottom: 170px;
    }
    .about-right_numbers {
        margin-top: 50px;
        flex-wrap: wrap;
    }

    .about-right_item {
        width: 31%;
    }

    .review-slide {
        flex: 0 0 100%;
    }

    .reviews-slider-wrapper {
        width: 85%;
    }
    .footer-container {
        display: flex;
        flex-direction: column;
    }
    .footer-contacts,
    .footer-form_container {
        width: 100%;
    }
    .footer-form_container {
        order: 1;
    }
    .footer-contacts {
        order: 2;
        align-items: center;
        display: flex;
        flex-direction: column;
        padding: 50px 0;
    }
    .footer-form {
        width: 100%;
    }
    .about-page-content {
        flex-wrap: wrap;
    }
    .about-page-left {
        width: 100%;
    }
    .about-page-right {
        width: 100%;
    }
    .about-page-left .catalog-btn {
        font-size: 18px;
        padding: 20px 30px;
    }
}

@media (max-width: 1100px) {
    .about-right_subtitle {
        margin-top: 20px;
        font-size: 28px;
        margin-bottom: 30px;
    }

    .our-rules_right {
        width: 100%;
    }
    .our-rules_subtitle {
        font-size: 24px;
    }
    .features-item {
        width: 47%;
    }
    .reviews-header {
        flex-wrap: wrap;
    }
    .reviews-header h2 {
        width: 100%;
        margin-left: 0;
    }
    .reviews-header_subtitle {
        font-size: 24px;
        margin-top: 20px;
        width: 100%;
    }
    .property-filters {
        display: none;
    }
    .property-filters form#property-filter-form {
        display: none;
    }

    .active-filters {
        display: none;
    }

    .mobile-filter-button {
        display: flex !important;
    }
}

@media (max-width: 1200px) and (min-width: 1001px) {
    .popular-property-slide {
        width: 50% !important;
        flex: 0 0 50% !important;
        min-width: 50% !important;
        max-width: 50% !important;
        padding: 0 10px !important;
    }
    .popular-property-slider {
        display: flex !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
    }
    .popular-property-carousel .popular-property-slide .property-card {
        width: 100% !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 1000px) {
    .property-card {
        width: 100%;
    }
    .catalog-item-overlay h3 {
        font-size: 18px;
    }

    .popular-property-slide {
        width: 100% !important;
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 10px !important;
    }
    .popular-property-slider {
        display: flex !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
    }
    .content {
        max-width: 90%;
    }
    .custom-slider {
        height: 670px;
    }
    .popular-property-carousel .popular-property-slider {
        transition: transform 0.3s ease;
    }

    .popular-property-carousel .popular-property-slide .property-card {
        width: 100% !important;
        margin: 0 auto !important;
    }
    .gallery-thumbs {
        display: none;
    }
    .gallery-main {
        max-width: 100%;
    }
}

@media (max-width: 750px) {
    h1 {
        font-size: 30px;
    }
    p {
        font-size: 16px;
    }
    .header-logo img {
        width: 165px;
    }
    .popular-property-slide {
        width: 100% !important;
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 10px !important;
    }
    .content {
        max-width: 72%;
    }
    .desc {
        max-width: 100%;
        font-size: 17px;
    }
    .custom-slider {
        height: 770px;
        margin: 7px;
    }
    .slider-nav button {
        font-size: 22px;
        width: 40px;
        height: 40px;
    }
    .catalog-block {
        margin: 0;
    }
    .catalog-items {
        gap: 10px;
    }
    .catalog-content p {
        margin-bottom: 0;
    }
    .catalog-item-overlay h3 {
        font-size: 16px;
    }
    .catalog-item-overlay h4 {
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 8px;
    }
    .catalog-btn-container {
        bottom: 16px;
    }
    .popular-property-carousel {
        padding: 0 10px;
    }
    .about-right_item:nth-child(1) {
        margin-left: 0;
    }
    .buttons a {
        width: 100%;
        font-size: 18px;
    }
    .catalog-block.full-width-block {
        padding: 30px 15px 50px;
    }
    .catalog-btn-container {
        margin-top: 10px;
    }
    .mobile-filter-button {
        margin: 16px 20px 30px;
    }
    .properties-grid {
        padding: 20px 10px;
    }
    .property-price {
        font-size: 26px;
    }
    .property-single {
        padding: 20px 15px 50px;
    }
    .gallery-main {
        height: 330px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .gallery-main img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        image-rendering: crisp-edges;
        image-rendering: -webkit-optimize-contrast;
    }
    .single_left_info h1 {
        font-size: 22px;
    }
    .single_left_info {
        padding: 20px;
    }
    .property-info_first-line {
        flex-wrap: wrap;
    }
    .first-line-text {
        width: 100%;
    }
    .property-social-btn {
        margin-top: 20px;
    }
    .property-social-btn img {
        width: 30px;
    }
    .property-social-btn a {
        margin-left: 0;
        margin-right: 16px;
    }
    .info_meta_item {
        width: 47%;
        padding: 10px;
    }
    .info_meta_item p {
        font-size: 13px;
    }
    .info_meta_item img {
        width: 22px;
    }
    .single_left_author {
        padding: 20px;
        flex-wrap: wrap;
        justify-content: start;
    }
    .single_author_avatar {
        margin-right: 25px;
    }
    .single_author_info {
        justify-content: start;
    }
    .single_author_contact {
        width: 100%;
    }
    .single_author_phone {
        text-align: left;
        margin: 0 0 30px 140px;
    }
    .single_author_phone a {
        font-size: 22px;
        font-weight: bold;
    }
    .single_author_btn {
        justify-content: center;
    }

    .reviews-slider-wrapper {
        width: 90%;
    }
    .property-archive-container h1 {
        margin: 20px 20px 0;
    }
    #favorites {
        padding: 20px 10px;
    }
    .no-results {
        padding: 20px;
    }
    .about-us {
        padding: 20px 20px 150px;
        margin: 10px;
    }
    .about-page {
        padding: 30px 10px;
    }
    .team-section {
        margin-bottom: 0;
    }
    .about-left_features li {
        font-size: 16px;
    }
    .about-right_subtitle {
        margin-top: 20px;
        font-size: 20px;
        margin-bottom: 30px;
    }
    .about-right_numbers {
        margin-top: 50px;
    }

    .about-right_item {
        width: 100%;
        margin-left: 0;
        margin-right: 10px;
    }
    .features-item {
        width: 100%;
        margin-bottom: 20px;
    }
    .our-rules {
        padding: 20px;
        margin: 20px 0;
    }
    .our-rules_subtitle {
        font-size: 20px;
    }
    .reviews {
        margin: 40px 20px;
    }
    .reviews-header_subtitle {
        font-size: 20px;
    }
    .reviews-slider {
        margin: 40px 0px;
    }
    .author-page {
        padding: 0 0 30px 0;
    }
    .author-properties h2 {
        margin-left: 20px;
    }
    .pagination {
        padding: 10px 0 25px 0;
    }
    .footer-container {
        padding: 30px;
    }
    .footer-contacts h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }
    .footer-adress {
        text-align: center;
    }
    .footer-menu ul {
        flex-direction: column;
        text-align: center;
    }
    .footer-menu li {
        font-size: 22px;
        margin-bottom: 20px;
    }
    .footer-social {
        margin: 25px 0 35px;
    }
    .footer-social img {
        margin: 0 16px;
    }
    .about-page-subtitle {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .about-right_numbers {
        margin-top: 30px;
    }

    .about-right_numbers-item {
        font-size: 30px;
    }
}

@media (max-width: 420px) {
    .single_left_info h1 {
        font-size: 18px;
    }
    .property-price {
        font-size: 22px;
    }
    .info_meta_item {
        width: 46%;
    }
    .single_author_avatar {
        width: 80px;
        height: 80px;
    }
    .single_author_name h3 {
        font-size: 20px;
    }
    .single_author_phone {
        margin: 20px 0 30px 110px;
    }
    .single_author_phone a {
        font-size: 20px;
    }

    .property-price-per-metr,
    .property-id {
        font-size: 14px;
    }
}
@media (max-width: 390px) {
    .single_left_info h1 {
        font-size: 16px;
    }
    .property-price {
        font-size: 20px;
    }
    .info_meta_item {
        width: 46%;
    }
    .single_author_avatar {
        width: 70px;
        height: 70px;
    }
    .single_author_name h3 {
        font-size: 18px;
    }
    .single_author_phone {
        margin: 30px 0 30px 100px;
    }
    .single_author_phone a {
        font-size: 20px;
    }

    .property-price-per-metr,
    .property-id {
        font-size: 14px;
    }
    .single_left_info {
        padding: 12px;
    }
    .single_left_author {
        padding: 12px;
    }
}
