/* =========================================================
   LISTING PAGE LAYOUT
========================================================= */

.listing-page-section {
    position: relative;
    padding: 40px 0 90px;
    background:
        linear-gradient(180deg,
            #fff8fb 0%,
            #ffffff 35%,
            #fff9fc 100%);
    overflow: hidden;
}

/* Soft blur bg */
.listing-page-section::before {
    content: "";

    position: absolute;
    top: -140px;
    left: -120px;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background: rgba(255, 117, 140, 0.10);

    filter: blur(90px);
}

.listing-page-section::after {
    content: "";

    position: absolute;
    right: -120px;
    bottom: -140px;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background: rgba(255, 126, 179, 0.12);

    filter: blur(100px);
}

/* =========================================================
   FILTER SIDEBAR
========================================================= */

.side-filter {
    position: sticky;
    top: 105px;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-radius: 28px;

    padding: 28px;

    border: 1px solid #577336;

    box-shadow: 0 12px 35px rgb(240 245 232), 0 18px 50px rgb(238 246 225);


    overflow: hidden;
}

/* top glow */
.side-filter::before {
    content: "";

    position: absolute;
    top: -80px;
    right: -80px;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    /* background:
        radial-gradient(circle,
            rgba(255, 117, 140, 0.15),
            transparent 70%); */
}

/* Title */
.side-filter h5 {
    font-size: 24px;
    font-weight: 800;

    color: #111;

    margin-bottom: 24px;

    display: flex;
    align-items: center;
    gap: 10px;
}

.side-filter h5::before {
    content: "\F5DC";

    font-family: "bootstrap-icons";

    color: #f36016;
    font-size: 22px;
}

/* Group title */
.side-filter h6 {
    font-size: 15px;
    font-weight: 800;

    color: #222;

    margin-bottom: 16px;

    padding-bottom: 10px;

    border-bottom: 1px solid #f3dce2;
}

/* =========================================================
   FILTER ITEMS
========================================================= */

.filter-item {
    position: relative;

    margin-bottom: 12px;
}

.filter-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    visibility: hidden;
}

/* label */
.filter-item label {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 12px;

    background: #fff;

    border: 1px solid #f3dbe1;

    border-radius: 16px;

    padding: 13px 16px;

    cursor: pointer;

    transition:
        all .25s ease;

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

    color: #555;
}

/* custom checkbox */
.filter-item label::before {
    content: "";

    width: 20px;
    height: 20px;

    border-radius: 6px;

    border: 2px solid #ffc0cc;

    background: #fff;

    transition: all .25s ease;

    flex-shrink: 0;
}

/* hover */
.filter-item label:hover {
    border-color: #ffbfd0;

    background: #fff5f8;

    transform: translateX(3px);
}

/* checked */
.filter-item input:checked+label {
    background:
        linear-gradient(135deg,
            rgba(255, 117, 140, 0.10),
            rgba(255, 126, 179, 0.08));

    border-color: #ff9fb3;

    color: #ff5b85;
}

/* checked icon */
.filter-item input:checked+label::before {
    background: #f36016;

    border-color: transparent;

    box-shadow:
        0 6px 18px rgba(255, 117, 140, 0.30);

    position: relative;
}

.filter-item input:checked+label::after {
    content: "\F26E";

    font-family: "bootstrap-icons";

    position: absolute;

    left: 22px;

    color: #fff;

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

/* =========================================================
   RANGE SLIDER
========================================================= */

.range-wrapper {
    background: #f2f6ec9e;

    border: 1px solid #577336;

    border-radius: 18px;

    padding: 18px 16px;

    margin-bottom: 18px;
}

.range-values {
    font-size: 15px;
    font-weight: 800;

    color: #577336;

    margin-bottom: 14px;
}

/* slider */
.range-wrapper input[type="range"] {
    width: 100%;
    appearance: none;

    height: 6px;

    border-radius: 50px;

    background: #f36016;

    outline: none;
}

/* thumb */
.range-wrapper input[type="range"]::-webkit-slider-thumb {
    appearance: none;

    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: #fff;

    border: 4px solid #f36016;

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(255, 117, 140, 0.28);
}

.range-wrapper input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: #fff;

    border: 4px solid #f36016;
}

/* =========================================================
   SELECTED FILTERS
========================================================= */

.selected-filter-box {
    background: rgba(255, 255, 255, 0.95);

    border: 1px solid #577336;

    border-radius: 24px;

    padding: 20px 22px;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.05),
        0 6px 20px rgba(255, 117, 140, 0.06);
}

.selected-filter-title {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 17px;
    font-weight: 800;

    color: #222;

    margin-bottom: 18px;
}

.selected-filter-title i {
    color: #f36016;
}

.selected-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 16px;

    border-radius: 100px;

    background: #f36016;
    /* linear-gradient(135deg,
            #ff758c,
            #ff7eb3); */

    color: #fff;

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

    box-shadow:
        0 8px 20px rgba(255, 117, 140, 0.24);

    transition: all .25s ease;
}

.selected-filter-chip:hover {
    transform: translateY(-2px);
}

.selected-filter-chip a {
    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.18);

    color: #fff;

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

    text-decoration: none;

    transition: all .25s ease;
}

.selected-filter-chip a:hover {
    background: #fff;
    color: #f36016;
}

/* =========================================================
   LISTING GRID
========================================================= */

#listing-area {
    position: relative;
    z-index: 2;
}

/* =========================================================
   PREMIUM LIST CARD
========================================================= */

.premium-list-card {
    position: relative;

    height: 100%;

    display: flex;
    flex-direction: column;

    background: rgba(255, 255, 255, 0.96);

    border-radius: 30px;

    overflow: hidden;

    border: 1px solid rgba(255, 117, 140, 0.10);

    backdrop-filter: blur(18px);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.08),
        0 18px 50px rgba(255, 117, 140, 0.08);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.premium-list-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12),
        0 30px 70px rgba(255, 117, 140, 0.16);
}

/* =========================================================
   IMAGE
========================================================= */

.premium-list-image {
    position: relative;
    overflow: hidden;
}

.premium-list-image img {
    width: 100%;
    height: 270px;

    object-fit: cover;

    transition:
        transform .55s ease,
        filter .35s ease;
}

.premium-list-card:hover .premium-list-image img {
    transform: scale(1.08);
}

/* overlay */
.premium-list-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.88) 8%,
            rgba(0, 0, 0, 0.20) 45%,
            rgba(0, 0, 0, 0.02) 100%);
}

/* =========================================================
   WISHLIST
========================================================= */

.wishlist-btn-modern {
    position: absolute;
    top: 18px;
    right: 18px;

    z-index: 8;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    border: none;

    background: rgba(255, 255, 255, 0.96);

    color: #f36016;

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

    text-decoration: none;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.16);

    transition: all .3s ease;
}

.wishlist-btn-modern i {
    font-size: 20px;
}

.wishlist-btn-modern:hover,
.wishlist-btn-modern.active {
    background: #f36016;

    color: #fff;

    transform: scale(1.08);
}

/* =========================================================
   PRICE TAG
========================================================= */

.premium-price-tag {
    position: absolute;

    left: 18px;
    bottom: 18px;

    z-index: 5;

    padding: 12px 18px;

    border-radius: 100px;

    background: rgba(255, 255, 255, 0.16);

    backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.18);

    color: #fff;

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

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   CONTENT
========================================================= */

.premium-list-content {
    padding: 26px;

    display: flex;
    flex-direction: column;

    flex-grow: 1;
}

.premium-list-content h4 {
    font-size: 24px;
    font-weight: 800;

    color: #111;

    margin-bottom: 14px;

    line-height: 1.4;
}

.premium-list-content p {
    color: #707070;

    font-size: 14px;
    line-height: 1.9;

    margin-bottom: 24px;

    flex-grow: 1;
}

/* =========================================================
   DISTANCE
========================================================= */

.premium-distance {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: fit-content;

    padding: 10px 16px;

    border-radius: 100px;

    background: #fff3f6;

    color: #ff5b85;

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

    margin-bottom: 18px;
}

.premium-distance i {
    color: #f36016;
}

/* =========================================================
   EMPTY STATE
========================================================= */

.empty-service-box {
    padding: 80px 30px;

    background: rgba(255, 255, 255, 0.95);

    border-radius: 30px;

    border: 1px solid #577336;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.06);
}

.empty-icon {
    width: 110px;
    height: 110px;

    margin: 0 auto 24px;

    border-radius: 50%;

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

    background: #f36016;

    color: #fff;

    font-size: 46px;

    box-shadow:
        0 14px 32px rgba(255, 117, 140, 0.26);
}

.empty-service-box h4 {
    font-size: 30px;
    font-weight: 800;

    color: #111;

    margin-bottom: 12px;
}

.empty-service-box p {
    max-width: 500px;

    margin: auto;

    color: #777;

    font-size: 15px;
    line-height: 1.9;
}

/* =========================================================
   PAGINATION
========================================================= */

.custom-pagination nav {
    display: flex;
    justify-content: center;
}

.custom-pagination .pagination {
    gap: 10px;

    flex-wrap: wrap;
}

.custom-pagination .page-item .page-link {
    width: 48px;
    height: 48px;

    border-radius: 16px !important;

    border: 1px solid #ffd9e1;

    background: #fff;

    color: #555;

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

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

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.04);

    transition: all .25s ease;
}

.custom-pagination .page-item .page-link:hover {
    background: #f36016;

    color: #fff;

    border-color: transparent;

    transform: translateY(-2px);
}

.custom-pagination .page-item.active .page-link {
    background: #f36016;

    border-color: transparent;

    color: #fff;

    box-shadow:
        0 12px 25px rgba(255, 117, 140, 0.28);
}

/* =========================================================
   SHIMMER EFFECT
========================================================= */

.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::after {
    content: "";

    position: absolute;
    top: 0;
    left: -120%;

    width: 60%;
    height: 100%;

    background:
        linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.30) 50%,
            transparent 100%);

    transform: skewX(-18deg);

    transition: left .8s ease;
}

.shimmer-effect:hover::after {
    left: 130%;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .listing-page-section {
        padding: 30px 0 70px;
    }

    .side-filter {
        position: relative;
        top: 0;

        margin-bottom: 28px;
    }

    .premium-list-image img {
        height: 240px;
    }

    .premium-list-content {
        padding: 22px;
    }

    .premium-list-content h4 {
        font-size: 22px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .listing-page-section {
        padding: 20px 0 55px;
    }

    .side-filter {
        border-radius: 22px;
        padding: 20px;
    }

    .side-filter h5 {
        font-size: 22px;
    }

    .filter-item label {
        padding: 12px 14px;
        font-size: 13px;
    }

    .selected-filter-box {
        border-radius: 20px;
        padding: 18px;
    }

    .selected-filter-chip {
        font-size: 12px;
        padding: 9px 14px;
    }

    .premium-list-card {
        border-radius: 24px;
    }

    .premium-list-image img {
        height: 220px;
    }

    .wishlist-btn-modern {
        width: 42px;
        height: 42px;
    }

    .premium-list-content {
        padding: 18px;
    }

    .premium-list-content h4 {
        font-size: 20px;
    }

    .premium-list-content p {
        font-size: 13px;
        line-height: 1.8;
    }

    .premium-price-tag {
        font-size: 12px;
        padding: 10px 14px;
    }

    .empty-service-box {
        padding: 55px 20px;
        border-radius: 24px;
    }

    .empty-service-box h4 {
        font-size: 24px;
    }

    .custom-pagination .page-item .page-link {
        width: 42px;
        height: 42px;

        border-radius: 12px !important;

        font-size: 13px;
    }
}
