.ls-page {
    background: #f4f5f3;
    padding: 24px 0 48px;
}

.ls-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.ls-sidebar {
    position: sticky;
    top: 20px;
}

.ls-filters {
    background: #fff;
    border: 1px solid #ecece8;
    border-radius: 16px;
    padding: 22px 20px 18px;
}

.ls-filters__head h2 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a18;
}

.ls-filters__section {
    padding: 16px 0;
    border-top: 1px solid #f0efe9;
}

.ls-filters__section h3 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a18;
}

.ls-filters__list {
    display: grid;
    gap: 8px;
    max-height: none;
}

.ls-filters__list .ls-check.is-more {
    display: none;
}

.ls-filters__list.is-open .ls-check.is-more {
    display: flex;
}

.ls-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    cursor: pointer;
    font-size: 14px;
    color: #3d3d36;
}

.ls-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #4caf50;
    flex: 0 0 16px;
}

.ls-check__label {
    flex: 1;
}

.ls-check__count {
    color: #9a9a90;
    font-size: 13px;
}

.ls-show-more {
    border: 0;
    background: none;
    color: #4caf50;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 0 0;
    cursor: pointer;
}

.ls-filters__select,
.ls-filters__price input,
.ls-sort select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #e2e2dc;
    border-radius: 10px;
    background: #fff;
    padding: 8px 12px;
    color: #1a1a18;
}

.ls-slider {
    position: relative;
    height: 28px;
    margin: 8px 2px 12px;
}

.ls-slider__track {
    position: absolute;
    left: 0;
    right: 0;
    top: 12px;
    height: 4px;
    background: #e7e7e1;
    border-radius: 999px;
}

.ls-slider__range {
    position: absolute;
    height: 4px;
    background: #4caf50;
    border-radius: 999px;
}

.ls-slider__input {
    position: absolute;
    left: 0;
    width: 100%;
    top: 4px;
    margin: 0;
    background: none;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
}

.ls-slider__input::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4caf50;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #4caf50;
    cursor: pointer;
}

.ls-slider__input::-moz-range-thumb {
    pointer-events: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4caf50;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #4caf50;
    cursor: pointer;
}

.ls-filters__price {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ls-filters__reset,
.ls-filters__submit {
    display: block;
    width: 100%;
    margin-top: 8px;
    text-align: center;
    border-radius: 10px;
    padding: 11px 16px;
    font-weight: 700;
    text-decoration: none;
}

.ls-filters__reset {
    border: 1px solid #e2e2dc;
    background: #fff;
    color: #1a1a18;
}

.ls-filters__reset:hover {
    border-color: #4caf50;
    color: #2d5c35;
}

.ls-filters__submit {
    border: 0;
    background: #4caf50;
    color: #fff;
}

.ls-toolbar {
    display: flex;
    align-items: center;
    gap: 12px 18px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.ls-toolbar__title {
    margin: 0;
    margin-right: auto;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a18;
}

.ls-toolbar__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8a8a80;
    font-size: 14px;
}

.ls-page-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4a4a42;
    background: #fff;
    border: 1px solid #e6e6de;
    text-decoration: none;
}

.ls-page-btn.is-disabled {
    pointer-events: none;
    opacity: .4;
}

.ls-filter-open {
    border: 1px solid #e2e2dc;
    background: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ls-filter-open span {
    background: #4caf50;
    color: #fff;
    border-radius: 999px;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ls-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.ls-sort label {
    margin: 0;
    font-size: 13px;
    color: #8a8a80;
    white-space: nowrap;
}

.ls-sort select {
    min-width: 170px;
}

.ls-view {
    display: flex;
    gap: 6px;
}

.ls-view__btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8a8a80;
    background: #fff;
    border: 1px solid #e6e6de;
    text-decoration: none;
}

.ls-view__btn.is-on {
    background: #4caf50;
    border-color: #4caf50;
    color: #fff;
}

.ls-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.ls-chip-tag,
.ls-chip-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.ls-chip-tag {
    background: #eaf6ea;
    color: #2d5c35;
}

.ls-chip-clear {
    color: #8a8a80;
}

.ls-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ls-grid.is-list {
    grid-template-columns: 1fr;
}

.ls-empty {
    grid-column: 1 / -1;
}

.pcard-col {
    min-width: 0;
}

.pcard {
    background: #fff;
    border: 1px solid #ecece8;
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ls-grid.is-list .pcard {
    flex-direction: row;
}

.pcard__img {
    position: relative;
    height: 180px;
    background: #eef5ee;
    overflow: hidden;
    flex: 0 0 auto;
}

.ls-grid.is-list .pcard__img {
    width: 240px;
    height: auto;
    min-height: 180px;
}

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

.pcard__placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4caf50;
    font-size: 42px;
}

.pcard__save {
    position: absolute;
    top: 0;
    right: 14px;
    width: 28px;
    height: 36px;
    border: 0;
    background: #f2c14e;
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 7px;
}

.pcard__save i {
    color: #fff;
    font-size: 14px;
}

.pcard__save.active {
    background: #e0a106;
}

.pcard__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pcard__title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.pcard__title a {
    color: #1a1a18;
    text-decoration: none;
}

.pcard__loc {
    margin: 0 0 8px;
    color: #8a8a80;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pcard__price {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: #4caf50;
}

.pcard__price span {
    font-size: 14px;
    font-weight: 600;
}

.pcard__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #8a8a80;
    font-size: 13px;
    margin-bottom: 14px;
}

.pcard__ago {
    margin-left: auto;
}

.pcard__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}

.pcard__details,
.pcard__contact {
    text-align: center;
    border-radius: 8px;
    padding: 9px 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.pcard__details {
    background: #4caf50;
    color: #fff;
}

.pcard__details:hover {
    background: #3d9641;
    color: #fff;
}

.pcard__contact {
    background: #fff;
    color: #4caf50;
    border: 1.5px solid #4caf50;
}

.pcard__contact:hover {
    background: #f3fbf3;
    color: #3d9641;
}

.ls-offcanvas .ls-filters {
    border: 0;
    padding: 0;
}

.ls-offcanvas .ls-filters__head {
    display: none;
}

@media (max-width: 1199px) {
    .ls-grid:not(.is-list) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .ls-layout {
        grid-template-columns: 1fr;
    }

    .ls-toolbar__title {
        font-size: 22px;
        width: 100%;
        margin-right: 0;
    }

    .ls-grid.is-list .pcard {
        flex-direction: column;
    }

    .ls-grid.is-list .pcard__img {
        width: 100%;
        height: 180px;
    }
}

@media (max-width: 575px) {
    .ls-grid:not(.is-list) {
        grid-template-columns: 1fr;
    }

    .ls-sort {
        width: 100%;
    }

    .ls-sort select {
        flex: 1;
    }

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

    .pcard__ago {
        margin-left: 0;
        width: 100%;
    }
}
