
/* ---------------------------------------- */


/* Elementor pagination styling */

/* General pagination container styling */
.elementor-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px; /* Spacing between the page numbers */
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Inactive page numbers (other pages) */
.elementor-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    color: #000; /* Black text */
    background-color: transparent; /* Transparent background */
    border: 1px solid #000; /* Black border */
    border-radius: 1px; /* Subtle rounded corners */
    font-size: 14px;
    font-weight: 500;
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

/* Active page number */
.elementor-pagination .page-numbers.current {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    border: 1px solid #000; /* Black border (consistent with inactive) */
    font-weight: 700; /* Slightly bolder font */
    pointer-events: none; /* Disable clicking on the active page */
}

/* Hover effect for inactive page numbers */
.elementor-pagination .page-numbers:not(.current):hover {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
}

/* Previous/Next buttons styling */
.elementor-pagination .page-numbers.prev,
.elementor-pagination .page-numbers.next {
    padding: 10px 20px; /* Larger padding for visual distinction */
    color: #000; /* Black text */
    background-color: transparent; /* Transparent background */
    border: 1px solid #000; /* Black border */
    border-radius: 1px; /* Rounded corners */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

/* Hover effect for Previous/Next buttons */
.elementor-pagination .page-numbers.prev:hover,
.elementor-pagination .page-numbers.next:hover {
    background-color: #000; /* Slightly darker background on hover */
    color: #fff; /* White text on hover */
}
                                   

/* ---------------------------------------- */
/* CUSTOM FILTER - BLOG POST ARCHIVE */
/* ---------------------------------------- */

/* ---------------------------------------- */
/* BLOG CATEGORY FILTER */
/* ---------------------------------------- */

.category-filter {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-filter > li {
    font-weight: bold;
    margin-bottom: 8px;
}

/* Add a line between filter groups */
.category-filter > li:not(:last-child) {
    border-bottom: 1px solid #ddd; /* Light gray line */
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.sub-category-filter {
    list-style: none;
    padding-left: 20px; /* Indent child categories */
    margin-top: 5px;
}

.sub-category-filter li {
    font-weight: normal;
    padding-left: 10px; /* Extra padding for better indentation */
}

/* CUSTOM FILTER - PRODUCTS ARCHIVE */
.custom-filter ul {
    list-style: none; /* Removes default bullet points */
    padding: 0;
    margin: 0;
}

.custom-filter ul li {
    padding-left: 5px; /* Optional: Adjust spacing for better alignment */
}

/* Add spacing and a line between filter groups */
.custom-filter .filter-group {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd; /* Light gray line */
}

/* Update this existing rule (around line 527) to remove display:none from JS: */
.custom-filter .filter-group .selected-count {
    background: #eee;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 14px;
    /* REMOVE: display: none; */
    line-height: 1.2;
    font-weight: bold;
    display: none; /* Keep the default display:none for non-active counts */
}

/* 🏆 CRITICAL CSS FIX: Force visibility when active */
.custom-filter .filter-group .selected-count.is-active {
    display: inline-block !important; /* Force it to show when active */
}

/* Ensure the price filter group heading shows the count correctly */
.custom-filter .price-filter .selected-count {
    /* Ensure any price-specific styling is here. If the default styling is sufficient, no change is needed. */
}

/* Remove border from the last filter group */
.custom-filter .filter-group:last-child {
    border-bottom: none;
}

/* Filter headings */
.custom-filter h4 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

/* Extra indentation for nested items */
.custom-filter .sub-category-filter li {
    padding-left: 20px; /* Adjust spacing for clear hierarchy */
    font-size: 16x; /* Slightly smaller font for sub-items */
}

















/* ==========================================================================
* Fix for Admin Editor Text Color
* Overrides theme styles that make editor text white.   
   ========================================================================== */

/* Fix for the "Text" mode editor */
.wp-editor-area {
    color: #1e1e1e !important;
}

/* Fix for the "Visual" mode editor (TinyMCE iframe) */
body#tinymce.wp-editor {
    color: #1e1e1e !important;
}





