/* filter */
.filter-section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    border-top: 2px solid #e0e0e0;
    background-image: linear-gradient(to top, #f9f9f9, #ffffff);
    z-index: 999;
}

.filter-btn {
    color: #565656;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-count {
    color: #565656;
    font-weight: 700;
    font-size: 0.95rem;
}

/* filter for mobile */
.sile-filter-mobile {
    display: none;
}

.filter-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.right-content {
    vertical-align: baseline;
    scroll-behavior: smooth;
}

.form-check-label {
    font-size: 13px;
}

.all-items {
    width: 100%;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.left-filter::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.left-filter {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* filter for mobile */
.sile-filter-mobile {
    display: none;
}

.filter-mobile {
    display: none;
}

.filter-color .clr-btn {
    width: 30px;
    height: 30px;
}

.filter-mobile-box {
    display: none;
}

.mob-cat-form {
    padding: 16px 15px;
    border-bottom: 1px solid rgba(219, 219, 219, 0.4);
    display: flex;
    align-items: center;
    gap: 5px;
    color: #212121;
}

.mob-cat-form .form-check-label {
    margin-left: 10px;
    text-transform: capitalize;
    font-size: 12px;
}

.form-check-input {
    content: "";
    -webkit-appearance: none;
    background-color: transparent;
    border: 1px solid #8D8D8D;
    box-shadow: 0 1px 2px rgb(0 0 0 / 22%), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
    padding: 8px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 8px;
    border-radius: 3px;
}

/* When checked: don't change background, just show tick */
.form-check-input:checked::after {
    /* content: '✓'; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--c1);
    font-size: 12px;
    font-weight: bold;
}

.form-check-input:checked {
    background-color: unset !important;
    color: unset !important;
    border: 1px solid #8D8D8D;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
}

/* Optional: keep unchecked state clean */
.form-check-input::after {
    content: '';
}

.form-check-input:focus {
    border-color: var(--c1) !important;
    outline: 0;
    box-shadow: unset !important;
}


.btn-coll {
    background: #f5f5f5;
    color: #212121 !important;
    /* width: 150px; */
    border-bottom: 2px solid #fff !important;
    padding: 15px 15px;
    border: 0px;
    font-size: 12px !important;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    display: flex;
    align-items: center;
    text-transform: capitalize;
}

.off-btn .active {
    background-color: #fff !important;

}

.bg-f6 {
    background-color: #f6f6f6 !important;
}

.filter-box-desktop {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.filter-header-desktop {
    background-color: #f8f9fa;
    padding: 1rem;
    font-weight: bold;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-section-desktop {
    border-bottom: 1px solid #e0e0e0;
}

.filter-toggle {
    padding: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

.filter-toggle span {
    font-size: 13px;
    color: #212121;
    text-transform: capitalize;
    line-height: 1.4;
}

/* .filter-toggle.active {
  background-color: #e9ecef;
} */

.form-check-label {
    line-height: 1.4;
    margin-left: 15px;
    font-size: 13px;
    color: #212121;
    text-transform: capitalize;
}

.filter-form-check {
    padding: 10px 20px;
    border-bottom: 2px solid #f2f2f2;
}

.price-input .form-control {
    min-width: 100px;
    border: 1px solid #ccc;
}

.input-group-text {
    border: 1px solid #ccc;
}

.selected-category-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f5f5f5;
    border: 1px solid #cbcbcb;
    border-radius: 35px;
    padding: 5px 10px;
    margin-right: 5px;
    font-size: 12px;
    color: #555;
    margin-bottom: 5px;
}

.remove-category {
    cursor: pointer;
    margin-left: 5px;
    font-weight: bold;
    color: red;
}

.remove-category:hover {
    color: darkred;
}

.remove-all-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f5f3f3;
    border-radius: 9999px;
    padding: 4px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.remove-all-wrapper:hover {
    background-color: #e2e2e2;
}

.remove-icon {
    font-size: 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.remove-text {
    font-size: 12px;
    color: #3b3b3b;
    text-decoration: underline;
    font-weight: 500;
}

.filters-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0rem 1rem 0rem;
}

.left-filters,
.right-filters {
    display: flex;
    align-items: center;
    gap: 25px;
}

.filter-label {
    color: #d2d2d2;
    font-weight: 700;
    font-size: 12px;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: #d2d2d2;
    font-weight: 700;
    font-size: 12px;
    padding: 0;
}

.dropdown-menu {
    z-index: 5 !important;
}

.dropdown-toggle::after {
    margin-left: 4px;
    vertical-align: middle;
}

.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

.price-filter {
    min-width: 380px !important;
}

.product-count-filter {
    margin-left: 10px;
    font-size: 12px;
    color: #d2d2d2;
    font-weight: 700;
}

.sort-label {
    font-size: 12px;
    font-weight: 700;
    color: #d2d2d2;
}

@media screen and (max-width:660px) {

    .filter-mobile {
        display: block;
    }

    .sile-filter-mobile {
        width: 100%;
        /* min-height: 150vh; */
        position: fixed;
        z-index: 1210;
        display: block;
        /* background-color: aqua; */
        background-color: #fff !important;
        transition: all 1s;
        top: 0% !important;
        bottom: 0% !important;
        left: -110%;
        overflow-x: hidden !important;
        overflow-y: scroll !important;
        scroll-behavior: smooth;
    }

    .filter-box {
        overflow-y: scroll;
        overflow-x: hidden;
        /* background-color: aqua; */
    }

    .filter-open {
        font-size: 18px !important;
        letter-spacing: 1px !important;
        border: 1px solid var(--c1) !important;
        background-color: #f6f6f6 !important;
    }

    .sile-filter-mobile-footer {
        position: absolute;
        bottom: 0% !important;
        width: 100%;
        /* height: 50px; */
        background-color: #F6F6F6 !important;
        text-align: center;
    }

    .filter-header {
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 0.3px;
        text-transform: uppercase;
    }
}