/* Shop Filters Styles */

.tazajmart-filters-container {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.filter-widget {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
}

.filter-widget:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Scrollbar Style */
.custom-scrollbar {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Search Input */
.search-input-wrapper {
    position: relative;
    display: flex;
}

.search-input-wrapper input {
    width: 100%;
    padding: 12px 15px;
    padding-right: 45px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.search-input-wrapper input:focus {
    border-color: #0b3e27;
    box-shadow: 0 0 0 3px rgba(11, 62, 39, 0.05);
}

.search-input-wrapper button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #0b3e27;
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

/* Filter Lists */
.filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.filter-list li {
    margin-bottom: 12px;
}

.filter-list li:last-child {
    margin-bottom: 0;
}

/* Custom Checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    color: #475569;
    transition: 0.2s;
}

.custom-checkbox:hover {
    color: #0b3e27;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    transition: 0.2s;
}

.custom-checkbox input:checked~.checkmark {
    background-color: #0b3e27;
    border-color: #0b3e27;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 5px;
    top: 1.5px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.label-text {
    flex: 1;
}

.count {
    font-size: 12px;
    color: #94a3b8;
    margin-left: 5px;
}

/* Price Filter */
.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.price-inputs input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}

/* Rating Stars */
.rating-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #f1c40f;
}

.up-suffix {
    font-size: 12px;
    color: #94a3b8;
    margin-left: 5px;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-block;
    padding: 5px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 12px;
    color: #64748b;
    cursor: pointer;
    transition: 0.2s;
}

.tag-item:hover,
.tag-item.active {
    background: #0b3e27;
    color: #fff;
    border-color: #0b3e27;
}

/* Actions */
.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.btn-apply-filters {
    background: #0b3e27;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-apply-filters:hover {
    background: #125b39;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 62, 39, 0.2);
}

.btn-reset-filters {
    text-align: center;
    font-size: 13px;
    color: #e11d48;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.btn-reset-filters:hover {
    color: #be123c;
    text-decoration: underline;
}

/* Responsive Sidebar Toggle (Optional but good) */
@media (max-width: 991px) {
    /* Potential logic for a drawer/overlay if needed */
}