 

/* ==============================
   PAGE
============================== */

.page-wrapper {
    width: 100%;
    padding: 0 0 30px;
}



/* ==============================
   MAIN CONTENT
============================== */

.content-area {
    display: flex;

    gap: 40px;

    margin-top: 4px;

    align-items: flex-start;
}


/* ==============================
   SIDEBAR
============================== */

.filter-sidebar {
    width: 145px;

    min-width: 145px;
}


/* FILTER TITLE */

.filter-heading {
      height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.filter-heading h3 {
   margin: 0;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background: #3ea65c;
    padding: 5px 10px;
    width: 100%;
    border-radius: 10px;
    text-align: center;
}


/* FILTER BOX */

.filter-box {
    border: 1px solid #cfd9e5;

    border-radius: 10px;

    margin-bottom: 10px;

    background: #fff;

    overflow: hidden;
}


/* FILTER HEADER */

.filter-title {
    height: 34px;

    padding: 0 11px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid #ddd;
}

.filter-title strong {
    font-size: 14px;

    color: #222;
}

.filter-title a {
    font-size: 9px;

    color: #1769d1;

    text-decoration: none;
}

.filter-title a:hover {
    text-decoration: underline;
}


/* FILTER LIST */

.filter-list {
    max-height: 145px;

    overflow-y: auto;

    padding: 5px 8px;
}


/* Scrollbar */

.filter-list::-webkit-scrollbar {
    width: 4px;
}

.filter-list::-webkit-scrollbar-track {
    background: #eee;
}

.filter-list::-webkit-scrollbar-thumb {
    background: #55887b;

    border-radius: 10px;
}


/* FILTER OPTION */

.filter-option {
    position: relative;

    min-height: 25px;

    display: flex;

    align-items: center;

    gap: 7px;

    cursor: pointer;

    color: #657080;

    font-size:12px;

    padding: 2px 2px;
}

.filter-option:hover {
    color: #1769d1;
}


/* Hide native checkbox */

.filter-option input {
    position: absolute;

    opacity: 0;

    cursor: pointer;
}


/* RADIO */

.custom-radio {
    width: 13px;

    height: 13px;

    min-width: 13px;

    border: 1px solid #8a98a8;

    border-radius: 50%;

    background: white;

    position: relative;
}


/* Checked radio */

.filter-option input:checked + .custom-radio {
    background: #3677d4;

    border-color: #3677d4;
}

.filter-option input:checked + .custom-radio::after {
    content: "";

    position: absolute;

    width: 5px;

    height: 5px;

    border-radius: 50%;

    background: white;

    left: 3px;

    top: 3px;
}


/* CHECKBOX */

.custom-checkbox {
    width: 13px;

    height: 13px;

    min-width: 13px;

    border: 1px solid #8a98a8;

    background: white;
}

.filter-option input:checked + .custom-checkbox {
    background: #3677d4;

    border-color: #3677d4;
}

.filter-option input:checked + .custom-checkbox::after {
    content: "✓";

    color: white;

    font-size: 9px;

    display: block;

    text-align: center;

    line-height: 12px;
}


/* ==============================
   BRAND SEARCH
============================== */

.brand-search {
    padding: 7px 7px 3px;
}

.brand-search input {
    width: 100%;

    height: 25px;

    border: 1px solid #d4dce5;

    border-radius: 3px;

    padding: 0 7px;

    font-size: 9px;

    outline: none;
}

.brand-search input:focus {
    border-color: #3677d4;
}


/* ==============================
   CLEAR ALL
============================== */

.clear-all-btn {
    display: block;

    text-align: center;

    padding: 8px;

    border: 1px solid #1769d1;

    border-radius: 4px;

    color: #1769d1;

    text-decoration: none;

    font-size: 11px;

    margin-top: 5px;
}

.clear-all-btn:hover {
    background: #1769d1;

    color: white;
}


/* ==============================
   PRODUCTS SECTION
============================== */

.products-section {
    flex: 1;

    min-width: 0;
}


/* ==============================
   PRODUCT HEADER
============================== */

.products-header {
    height: 55px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid #ccc;

    margin-bottom: 27px;
}

.products-header h1 {
    font-size: 18px;

    font-weight: 500;

    margin: 0 0 5px;

    color: #263238;
}

.product-count {
    font-size: 10px;

    color: #888;
}


/* SEARCH */

.search-form {
    display: flex;

    gap: 5px;
}

.search-form input {
    height: 30px;

    width: 220px;

    border: 1px solid #cbd6e2;

    border-radius: 4px;

    padding: 0 9px;

    font-size: 11px;

    outline: none;
}

.search-form input:focus {
    border-color: #2673d5;
}

.search-form button {
    height: 30px;

    border: 1px solid #3ea65c;

    background:#3ea65c;

    color: white;

    border-radius: 4px;

    padding: 0 14px;

    cursor: pointer;

    font-size: 11px;
}


/* ==============================
   PRODUCT GRID
============================== */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;
}


/* ==============================
   PRODUCT CARD
============================== */

.product-card {
    position: relative;

    height: 230px;

    border: 1px solid #cddbea;

    border-radius: 10px;

    background: white;

    overflow: hidden;

    transition: box-shadow .2s ease,
                transform .2s ease;
}

.product-card:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, .10);

    transform: translateY(-2px);
}


/* ==============================
   DISCOUNT
============================== */

.discount-badge {
    position: absolute;

    top: 0;

    left: 0;

    z-index: 2;

    background: #078750;

    color: white;

    font-size: 10px;

    font-weight: bold;

    padding: 4px 8px;

    border-radius: 0 0 8px 0;
}


/* ==============================
   IMAGE
============================== */

.product-image {
    height: 150px;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 15px 8px 5px;
}

.product-image img {
    max-width: 100%;

    max-height: 100px;

    object-fit: contain;
}


/* ==============================
   PRODUCT INFO
============================== */

.product-info {
    position: relative;

    padding: 0 11px;
}

.product-info h3 {
    height: 29px;

    margin: 2px 0 3px;

    font-size: 14px;

    line-height: 14px;

    font-weight: 400;

    color: #203a58;

    overflow: hidden;
}


/* BRAND */

.brand-name {
    display: none;

    margin: 0;

    color: #777;

    font-size: 9px;
}


/* ==============================
   PRICE
============================== */

.price-area {
    border-top: 1px solid #d9dfe6; 
    padding-top: 5px; 
    padding-right: 55px;  
	position: relative; 
}

.mrp {
    display: block;

    color: #8a939d;

    font-size: 8px;

    white-space: nowrap;
}

.mrp del {
    margin-left: 3px;
}

.price {
    display: block;

    margin-top: 2px;

    color: #222;

    font-size: 12px;
}


/* ==============================
   ADD BUTTON
============================== */

.add-btn {
       position: absolute;
    right: 0;
    bottom: 0;
    border: 1px solid #1769ff;
    background: #f4f8ff;
    color: #1769ff;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    line-height: 1;
   margin-right: 8px;
    padding: 5px 12px;
}

.add-btn:hover {
    background: #1769ff; 
    color: white;
}


/* ==============================
   NO PRODUCTS
============================== */

.no-products {
    grid-column: 1 / -1;

    text-align: center;

    padding: 60px 20px;

    border: 1px solid #ddd;

    border-radius: 5px;
}

.no-products h3 {
    margin-bottom: 5px;

    color: #333;
}

.no-products p {
    color: #777;  
    margin: 10px auto;
}

.no-products a {
    color: #1769d1;

    text-decoration: none;
}


/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 1400px) {

    .product-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

}


@media (max-width: 1150px) {

    .product-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

}


@media (max-width: 900px) {

    .content-area {
        gap: 15px;
    }

    .filter-sidebar {
        width: 170px;

        min-width: 170px;
    }

    .product-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .page-wrapper {
        padding: 0 12px 20px;
    }

    .content-area {
        display: block;
    }

    .filter-sidebar {
        width: 100%;

        margin-bottom: 20px;
    }

    .filter-box {
        display: inline-block;

        width: 32%;

        vertical-align: top;

        margin-right: 1%;
    }

    .products-header {
        height: auto;

        padding-bottom: 12px;

        gap: 10px;

        align-items: flex-start;

        flex-direction: column;
    }

    .search-form {
        width: 100%;
    }

    .search-form input {
        flex: 1;

        width: auto;
    }

    .product-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 480px) {

    .filter-box {
        display: block;

        width: 100%;

        margin-right: 0;
    }

    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}

.pagination {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 5px;

    margin: 30px 0 20px;
}

.page-btn {
    min-width: 32px;

    height: 32px;

    padding: 0 9px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #d3dce6;

    border-radius: 4px;

    background: #fff;

    color: #1769d1;

    text-decoration: none;

    font-size: 12px;
}

.page-btn:hover {
    background: #eef5ff;

    border-color: #1769d1;
}

.page-btn.active {
    background: #1769d1;

    border-color: #1769d1;

    color: #fff;

    font-weight: bold;
}

.dots {
    padding: 0 4px;

    color: #777;

    font-size: 12px;
}
