﻿/* Shop Page Sidebar & Layout */
.filter-sidebar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    position: sticky;
    top: 95px;
}

.filter-title {
    font-size: 16px;
    font-weight: 800;
    color: #14532d;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 10px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-filter-list {
    max-height: 290px;
    overflow-y: auto;
    padding-right: 4px;
}

    .category-filter-list::-webkit-scrollbar {
        width: 5px;
    }

    .category-filter-list::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px;
    }

.cat-filter-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 13.5px;
    margin-bottom: 4px;
    transition: all 0.15s;
}

    .cat-filter-link:hover {
        background-color: #f0fdf4;
        color: #15803d;
    }

    .cat-filter-link.active {
        background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
        color: #ffffff;
        font-weight: 600;
    }

        .cat-filter-link.active .badge {
            background-color: #ffffff !important;
            color: #15803d !important;
        }

/* Top Sort & Summary Bar */
.shop-topbar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 18px;
}

.btn-filter-apply {
    background: linear-gradient(135deg, #e62e00 0%, #ff6b00 100%);
    color: #fff;
    border: none;
    font-weight: 700;
}

    .btn-filter-apply:hover {
        opacity: 0.92;
        color: #fff;
    }

/* Pagination Styling */
.mm-pagination .page-btn {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #1f2937;
    padding: 7px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

    .mm-pagination .page-btn:hover:not(.disabled) {
        border-color: #15803d;
        background: #f0fdf4;
        color: #15803d;
    }

    .mm-pagination .page-btn.active {
        background: #15803d;
        border-color: #15803d;
        color: #fff;
    }

    .mm-pagination .page-btn.disabled {
        opacity: 0.45;
        pointer-events: none;
    }
