/*===product-listing.css start===*/

/* ── Override productSec section background ── */
.productListingSec {
    background-color: #fff !important;
}

/* ── Two-column layout: sidebar + grid ── */
.productListWrap {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* ================================================================
   SIDEBAR
   ================================================================ */
.productSidebar {
    width: 270px;
    flex-shrink: 0;
    position: sticky;
    top: 110px;
}

.sidebarBlock {
    background: #EEF9EE;
    border-radius: 16px;
    padding: 26px 22px;
    margin-bottom: 20px;
}

.sidebarTitle {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 14px;
    font-family: "Nata Sans", sans-serif;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

/* --- Category list --- */
.sidebarCatList {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebarCatList li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.sidebarCatList li:last-child {
    border-bottom: none;
}

.sidebarCatBtn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 12px 8px;
    background: transparent;
    border: none;
    font-size: 14.5px;
    color: #333;
    cursor: pointer;
    border-radius: 8px;
    font-family: "Manjari", sans-serif;
    font-weight: 700;
    transition: color 0.25s ease, background 0.25s ease;
    line-height: 1.35;
    margin: 10px 0;
}

.sidebarCatBtn.is-active {
    background: var(--blue);
    color: #fff;
    border-radius: 8px;
}

.sidebarCatBtn:hover:not(.is-active) {
    color: var(--blue);
    background: rgba(4, 143, 234, 0.07);
}

/* --- Application checkboxes --- */
.sidebarCheckList {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebarCheckList li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.sidebarCheckList li:last-child {
    border-bottom: none;
}

.checkLabel {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px 2px;
    user-select: none;
}

/* hide native checkbox */
.checkLabel input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.checkBox {
    width: 20px;
    height: 20px;
    border: 2px solid #bbb;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
    transition: border-color 0.2s ease, background 0.2s ease;
}

/* checked state */
.checkLabel input[type="checkbox"]:checked + .checkBox {
    background: var(--green);
    border-color: var(--green);
}

.checkLabel input[type="checkbox"]:checked + .checkBox::after {
    content: '';
    display: block;
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
}

.checkText {
    font-size: 14px;
    color: #444;
    font-family: "Manjari", sans-serif;
    font-weight: 600;
    line-height: 1.35;
}

/* ================================================================
   PRODUCT GRID
   ================================================================ */
.productListGrid {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Each card — no swiper-slide wrapper needed */
.productListGrid .productCard {
    display: flex;
    flex-direction: column;
    transition: opacity 0.35s ease;
}

.productListGrid .productCard.is-hidden {
    display: none;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1199px) {
    .productListGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .productListWrap {
        flex-direction: column;
        gap: 30px;
    }

    .productSidebar {
        width: 100%;
        position: static;
        display: flex;
        gap: 20px;
    }

    .sidebarBlock {
        flex: 1;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .productSidebar {
        flex-direction: column;
    }

    .productListGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .productListGrid {
        grid-template-columns: 1fr;
    }
}

/*===product-listing.css end===*/
