
.products-page-header {
    padding: 60px 0 34px;
    border-bottom: 1px solid #e8e8e8;
}

.products-page-title {
    font-family: 'Clash Grotesk', sans-serif;
    font-size: 36px;
    
    font-weight: 500;
    color: #000;
    margin-bottom: 14px;
}

.products-page-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #444;
    max-width: 720px;
    margin-bottom: 0;
}

.products-page-desc a {
    color: #5B8C51;
    text-decoration: underline;
}

.products-page-desc a:hover {
    color: #1A432E;
}

@media (max-width: 575.98px) {
    .products-page-title {
        font-size: 26px;
    }

    .products-page-desc {
        font-size: 13px;
    }
}




/* ── Desktop Filter Bar ───────────────────────────────────── */
.products-filter-bar {
    border-bottom: 1px solid #e8e8e8;
    padding: 14px 0;
    background: #fff;
    position: sticky;
    top: 145px !important;
    /* below navbar */
    z-index: 100;
}


@media (max-width:991px) {
    
.products-filter-bar {
    
    top: 115px !important;
    
}
    
}
.filter-bar-inner {
    gap: 16px;
    flex-wrap: wrap;
}

/* "Filter:" label */
.filter-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* ── Dropdown button ── */
.filter-dropdown {
    position: relative;
}

.filter-dropdown-btn {
    background: none;
    border: none;
    padding: 0 4px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.filter-dropdown-btn i {
    font-size: 12px;
    transition: transform 0.25s;
}

.filter-dropdown-btn.active i {
    transform: rotate(180deg);
}

.filter-dropdown-btn:hover,
.filter-dropdown-btn.active {
    color: #5B8C51;
}

/* ── Dropdown menu ── */
.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 190px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.22s ease;
    z-index: 200;
}

.filter-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Shared checkbox style (used in desktop & drawer) */
.filter-check-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    user-select: none;
}

.filter-check-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #5B8C51;
    cursor: pointer;
    flex-shrink: 0;
}


/* ── Sort + Count (desktop right side) ── */
.sort-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #555;
    white-space: nowrap;
}

.sort-select {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #333;
    border: none;
    background: transparent;
    cursor: pointer;
    outline: none;
    padding: 0 4px;
}

.sort-select:focus {
    outline: none;
}

.products-count {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #555;
    white-space: nowrap;
}


/* ── Mobile Filter Bar ────────────────────────────────────── */
.products-filter-bar-mobile {
    border-bottom: 1px solid #e8e8e8;
    padding: 13px 0;
    background: #fff;
    position: sticky;
    top: 65px;
    z-index: 100;
}

.mobile-filter-bar {
    align-items: center;
}

.mobile-filter-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #5B8C51;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.mobile-filter-btn i {
    font-size: 17px;
}

.mobile-filter-btn:hover {
    color: #1A432E;
}


/* ── Mobile Filter Drawer Overlay ────────────────────────── */
.mobile-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-filter-overlay.open {
    opacity: 1;
    visibility: visible;
}


/* ── Mobile Filter Drawer ─────────────────────────────────── */
.mobile-filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(360px, 85vw);
    height: 100%;
    background: #fff;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.mobile-filter-drawer.open {
    transform: translateX(0);
}

/* Drawer Header */
.drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.drawer-title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin: 0 0 2px;
    text-align: center;
}

.drawer-count {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
    margin: 0;
    text-align: center;
}

.drawer-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin-top: 2px;
    transition: color 0.2s;
}

.drawer-close-btn:hover {
    color: #1A432E;
}

/* Drawer Body */
.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* Drawer Sections (accordion style) */
.drawer-section {
    border-bottom: 1px solid #f0f0f0;
}

.drawer-section-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

.drawer-section-btn i {
    font-size: 13px;
    transition: transform 0.25s;
    flex-shrink: 0;
}

.drawer-section-btn:hover {
    color: #5B8C51;
}

/* Collapsible content */
.drawer-section-content {
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 4px 20px 18px;
}

.drawer-section-content.open {
    display: flex;
}

/* Sort row in drawer */
.drawer-sort-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
}

.drawer-sort-label {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #222;
}

.drawer-sort-select {
    font-size: 14px;
    font-weight: 500;
    color: #5B8C51;
}

/* Drawer Footer */
.drawer-footer {
    display: flex;
    gap: 0;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.drawer-remove-btn {
    flex: 1;
    background: #fff;
    border: none;
    border-right: 1px solid #eee;
    padding: 18px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    text-decoration: underline;
    transition: background 0.2s;
}

.drawer-remove-btn:hover {
    background: #f8f8f8;
}

.drawer-apply-btn {
    flex: 1;
    background: #1A432E;
    border: none;
    padding: 18px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.drawer-apply-btn:hover {
    background: #5B8C51;
}


/* ── Products Grid Section ───────────────────────────────── */
.products-grid-section {
    padding-top: 28px;
    padding-bottom: clamp(2rem, 5vw, 8rem) !important;
}





















/* Blog Page Custom Styles */



.btn-filter {
    background:var(--accent-green);
    color: white;
    border: 1px solid var(--accent-orange);
    border-radius: 20px;
    padding: 8px 24px;
    transition: 0.3s;
    font-weight: 600;
}

.btn-filter.active, .btn-filter:hover {
    background-color: var(--track-yellow);
    border-color: var(--track-yellow);
    color:var(--primary-green);
}

.btn-accent {
    background-color: var(--track-yellow);
    color: var(--primary-green);
    font-weight: 600;
    padding: 10px 30px;
    border: none;
}








/* Pagination Styles */
.pagination-wrapper {
    margin-top: 60px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.page-item .page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    border: 1px solid #eee;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    background: var(--white);
}

.page-item.active .page-link {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(91, 140, 81, 0.3);
}

.page-item .page-link:hover:not(.active) {
    background-color: #f5fbf0;
    border-color: var(--accent-green);
    color: var(--accent-green);
    transform: translateY(-3px);
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f9f9f9;
}

