body{
    background:#f8f4ef;
}

/* =========================================
   PAGE
========================================= */

.shop-page{

    max-width:1500px;

    margin:30px auto 80px;

    padding:0 24px;
}

/* =========================================
   HEADER
========================================= */

.shop-header{

    display:flex;

    justify-content:space-between;

    align-items:flex-end;

    gap:20px;

    margin-bottom:26px;
}

/* LEFT */

.shop-heading h1{

    font-size:42px;

    color:#5f3a1f;

    font-weight:700;

    margin-bottom:10px;
}

.shop-heading p{

    color:#777;

    font-size:15px;
}

/* RIGHT */

.shop-actions{

    display:flex;

    align-items:center;

    gap:14px;
}

/* FILTER */

.filter-btn{

    height:46px;

    padding:0 22px;

    border:none;

    border-radius:14px;

    background:#111;

    color:#fff;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;
}

.filter-btn:hover{

    transform:translateY(-2px);
}

/* SORT */

.sort-select{

    height:46px;

    min-width:220px;

    border:1px solid #ddd;

    border-radius:14px;

    background:#fff;

    padding:0 16px;

    font-size:14px;

    outline:none;
}

/* =========================================
   RESULT INFO
========================================= */

.shop-result-info{

    margin-bottom:28px;

    color:#777;

    font-size:14px;
}

/* =========================================
   GRID
========================================= */

.shop-products-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fill,minmax(260px,1fr));

    gap:24px;
}

/* =========================================
   EMPTY
========================================= */

.shop-empty-state{

    background:#fff;

    padding:70px 30px;

    border-radius:30px;

    text-align:center;

    box-shadow:
    0 10px 30px rgba(0,0,0,.04);
}

.shop-empty-state h3{

    color:#5f3a1f;

    margin-bottom:14px;

    font-size:28px;
}

.shop-empty-state p{

    color:#777;

    font-size:15px;
}

/* =========================================
   PAGINATION
========================================= */

.shop-pagination{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    margin-top:50px;

    flex-wrap:wrap;
}

.page-btn{

    width:44px;
    height:44px;

    border-radius:12px;

    background:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    color:#333;

    font-size:14px;

    font-weight:600;

    transition:.25s;

    box-shadow:
    0 5px 14px rgba(0,0,0,.05);
}

.page-btn:hover{

    transform:translateY(-2px);
}

.active-page{

    background:#8b5a2b;

    color:#fff;
}

/* =========================================
   FILTER SIDEBAR
========================================= */

.kh-filter-wrap{

    padding:10px;
}

/* HEADER */

.kh-filter-header{

    margin-bottom:30px;
}

.kh-filter-header h4{

    font-size:24px;

    font-weight:700;

    color:#5f3a1f;

    margin-bottom:8px;
}

.kh-filter-header p{

    font-size:14px;

    color:#777;
}

/* SECTION */

.kh-filter-section{

    margin-bottom:30px;
}

.kh-filter-title{

    font-size:15px;

    font-weight:700;

    color:#333;

    margin-bottom:18px;
}

/* CATEGORY LIST */

.kh-category-list{

    display:flex;

    flex-direction:column;

    gap:14px;
}

/* ITEM */

.kh-category-item{

    display:flex;

    align-items:center;

    gap:12px;

    cursor:pointer;

    position:relative;
}

/* INPUT */

.kh-category-item input{

    display:none;
}

/* CHECKMARK */

.kh-checkmark{

    width:20px;
    height:20px;

    border-radius:6px;

    border:1px solid #ccc;

    position:relative;

    transition:.25s;

    background:#fff;
}

.kh-category-item input:checked
+ .kh-checkmark{

    background:#8b5a2b;

    border-color:#8b5a2b;
}

.kh-category-item input:checked
+ .kh-checkmark::after{

    content:'';

    position:absolute;

    width:6px;
    height:10px;

    border:solid #fff;

    border-width:0 2px 2px 0;

    transform:rotate(45deg);

    left:6px;
    top:2px;
}

/* TEXT */

.kh-category-name{

    font-size:14px;

    color:#555;
}

/* =========================================
   PRICE
========================================= */

.kh-price-slider-wrap{

    margin-bottom:22px;
}

.noUi-target{

    border:none !important;

    height:5px !important;

    background:#e7ddd2 !important;

    box-shadow:none !important;
}

.noUi-connect{

    background:#8b5a2b !important;
}

.noUi-handle{

    width:18px !important;
    height:18px !important;

    right:-9px !important;
    top:-7px !important;

    border:none !important;

    border-radius:50% !important;

    background:#8b5a2b !important;

    box-shadow:none !important;

    cursor:pointer;
}

.noUi-handle::before,
.noUi-handle::after{

    display:none;
}

/* VALUES */

.kh-price-values{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:10px;
}

.kh-price-box{

    flex:1;

    height:44px;

    background:#fff;

    border-radius:12px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:14px;

    font-weight:600;

    color:#333;

    box-shadow:
    0 5px 14px rgba(0,0,0,.04);
}

.kh-price-divider{

    width:12px;

    height:2px;

    background:#ddd;
}

/* BUTTON */

.kh-filter-btn{

    width:100%;

    height:50px;

    border:none;

    border-radius:16px;

    background:#111;

    color:#fff;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;
}

.kh-filter-btn:hover{

    transform:translateY(-2px);
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:992px){

    .shop-header{

        flex-direction:column;

        align-items:flex-start;
    }

    .shop-actions{

        width:100%;
    }

    .sort-select{

        flex:1;
    }
}

@media(max-width:768px){

    .shop-page{

        padding:0 16px;
    }

    .shop-products-grid{

        grid-template-columns:
        repeat(2,1fr);

        gap:16px;
    }

    .shop-heading h1{

        font-size:32px;
    }
}

@media(max-width:520px){

    .shop-actions{

        flex-direction:column;
    }

    .filter-btn,
    .sort-select{

        width:100%;
    }
}

@media(max-width:768px){

    .shop-products-grid{

        grid-template-columns:
        repeat(2,minmax(0,1fr));

        gap:12px;
    }

    .shop-products-grid .product-card{

        width:100% !important;

        min-width:0 !important;

        max-width:none !important;

        flex:none !important;
    }

}

@media(max-width:520px){

    .shop-actions{

        flex-direction:row !important;

        gap:10px;
    }

    .filter-btn{

        width:50%;
    }

    .sort-select{

        width:100%;
        min-width:0;
        text-align: center;
    }

}

@media(max-width:768px){

    .product-info h6{

        min-height:42px !important;

        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

}

.shop-result-info{

    display:inline-flex;

    align-items:center;

    padding:6px 12px;

    border-radius:999px;

    background:#f1e6d8;

    color:#7B4F2C;

    font-size:13px;

    font-weight:600;

    margin-bottom:16px;
}

@media(max-width:768px){

    .product-card{

        scroll-snap-align:start;
    }

}

@media(max-width:768px){

    .product-info h6{

        min-height:52px !important;

        -webkit-line-clamp:3;
    }

}

@media(max-width:768px){

    .shop-products-grid{

        gap:14px;
    }

}

@media(max-width:768px){

    .shop-actions{

        position:sticky;

        top:72px; /* mobile header ke niche */

        z-index:50;

        background:#f8f4ef;

        padding:10px 0;

        margin-bottom:12px;
    }

}

.shop-products-grid .product-card{

    width:100% !important;

    min-width:0 !important;

    max-width:none !important;

    flex:none !important;
}