﻿
.pagination-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 16px;
}

    .pagination-mobile a.disabled {
        opacity: 0.4;
        pointer-events: none;
    }

    .pagination-mobile .mobile-info {
        font-weight: bold;
    }

#paginationControls a:hover {
    background: white;
    cursor: pointer;
    color: #f68b1e;
}

#paginationControls .disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
#paginationControls .active {
    border-color: #f68b1e;
}
#paginationControls .active a {
    color: #f68b1e;
    background: white;
}

.biolife-panigations-block ul li {
    margin-left: 5px;
    position: relative;
    padding: 6px 10px;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    text-align: center;
}

/* Pagination */
#mobilepagination {
    display: none;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 8px;
}

    #mobilepagination .page-info {
        flex: 1;
        text-align: center;
        font-size: 16px;
        font-weight: 500;
    }

    #mobilepagination .mobile-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 30px;
        border: 1px solid #ccc;
        border-radius: 6px;
        background: #fff;
        text-decoration: none;
        color: #333;
        transition: background 0.3s ease;
        padding: 0 5px;
        font-size: 13px;
    }

        #mobilepagination .mobile-btn:hover {
            background: #f0f0f0;
        }

        #mobilepagination .mobile-btn.disabled {
            opacity: 0.4;
            pointer-events: none;
        }

/* Switch at 4668px */
@media (max-width: 668px) {
    .biolife-panigations-block {
        display: none!important; /* hide desktop pagination */
    }

    .mobile-pagination {
        display: flex !important; /* show mobile pagination */
    }

        .mobile-pagination button {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
        }
}

.qty-control-row {
    margin-top: 10px;
    text-align: center;
}

    .qty-control-row .btn {
        width: 30%;
        display: inline-block;
    }

    .qty-control-row .qty {
        display: inline-block;
        width: 30%;
        text-align: center;
        font-weight: bold;
    }

.d-none {
    display: none !important;
}


@media (min-width: 992px) {
    #categoryFilterList.categoryFilterListItems {
        margin-left: 10px;
    }

    #categoryFilterList.collapsed {
        overflow-y: auto;
    }
}

.link-page.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}

.sidebar .wgt-content .check-list li {
    color: #444444;
}


        /*********************************************/
#categoryFilterList {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

    #categoryFilterList.collapsed {
        max-height: 500px;
    }





.show-toggle-btn {
    margin-top: 10px;
    cursor: pointer;
    background: #f69837;
    color: white;
    padding: 2px 33px;
    border: none;
    border-radius: 4px;
    width: 99%;
    display: block;
    text-align: center;
}

.arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; /* control size here */
    height: 20px;
    cursor: pointer; /* optional */
    transition: transform 0.3s ease;
}

    .arrow svg {
        width: 100%;
        height: 100%;
        stroke: currentColor; /* inherits text color */
    }
/* Custom Select */

.custom-select {
    position: relative;
    width: 240px;
}

.select-trigger {
    background: #fff;
    border: none; /* removed border */
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease;
}

    .select-trigger:hover {
        background: #f3f4f6;
    }

.label {
    color: #6b7280;
    font-weight: 500;
    font-size: 13px;
}

#selectedValue {
    font-weight: 600;
    color: #111827;
}

.arrow {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.custom-select.open .arrow {
    transform: rotate(180deg);
}

.options {
    position: absolute;
    width: 100%;
    background: white;
    border-radius: 8px;
    margin-top: 6px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    display: none;
    overflow: hidden;
    z-index: 100;
}

.custom-select.open .options {
    display: block;
}

.option {
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.15s ease;
}

    .option:hover {
        background: #f3f4f6;
    }

    .option.selected {
        background: #f3f4f6;
        font-weight: 600;
    }

.sort-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap; /* allows wrapping on small screens */
}

.results-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.results-title {
    font-size: 15px;
    font-weight: 500;
    color: #313133;
    margin: 0;
}

.results-count {
    font-size: 14px;
    color: #6b7280;
}

.custom-select {
    position: relative;
    width: 240px;
}

@media (max-width: 768px) {
    .sort-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .custom-select {
        width: 100%;
        max-width: 768px;
    }
}


.error-container {
    max-width: 900px;
    margin: 10px auto;
    padding: 10px;
    line-height: 2;
}

.error-icon {
    font-size: 60px;
    color: #e74c3c;
}

h1 {
    color: #333;
    margin: 20px 0 10px;
}

.error_p {
    color: #666;
    margin-bottom: 20px;
}

.error-container a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f68b1e;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.error-container a:hover {
    background-color: #e98c2c;
}


/* price ranges */
.price-range {
    padding-right: 10px;
    width: 100%;
}


/* Inputs container */
.price-inputs {
    margin-top: 20px;
    display: flex;
    gap: 5px;
    align-items: flex-end;
    flex-wrap: wrap;
}

/* Label + input wrapper */
.input-group {
    display: flex;
    flex-direction: column;
}

    .input-group label {
        font-size: 13px;
        margin-bottom: 5px;
        color: #777;
        font-weight: 500;
    }

    /* Stylish input */
    .input-group input {
        width: 110px;
        padding: 8px 12px;
        border-radius: 8px;
        border: 1px solid #999;
        font-size: 14px;
        transition: all 0.3s ease;
        outline: none;
    }

        .input-group input:focus {
            border-color: #4CAF50;
            box-shadow: 0 0 0 3px rgba(76,175,80,0.15);
        }

/* Remove arrows (optional) */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Apply button */
#applyPrice {
    border-radius: 8px;
    border: none;
    background: #f68b1e;
    color: #fff;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 24px;
    width: 50%
}

    #applyPrice:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(46,125,50,0.3);
    }

    #applyPrice:active {
        transform: translateY(0);
        box-shadow: none;
    }

/* Container spacing */
#priceSlider {
    margin: 25px 0 15px !important;
}

/* Base track */
.noUi-target {
    height: 4px !important;
    border-radius: 4px !important;
    background: #e6e6e6 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Selected range (blue part) */
.noUi-connect {
    background: #f68b1e !important;
    box-shadow: none !important;
}

    /* Handles */
    .noUi-horizontal .noUi-handle {
        width: 18px !important;
        height: 18px !important;
        border-radius: 50% !important;
        background: #fff !important;
        border: 2px solid #f68b1e !important;
        box-shadow: none!important;
        cursor: pointer !important;
        top: -8px !important;
    }

/* Remove default handle lines */
.noUi-handle:before,
.noUi-handle:after {
    display: none !important;
}

/* Hover effect */
.noUi-handle:hover {
    background: #f5f5f5 !important;
    border-color: #286090 !important; /* darker bootstrap blue */
}

/* Active (when dragging) */
.noUi-active {
    box-shadow: 0 0 0 6px rgba(51,122,183,0.15) !important;
}

/* Tooltip style (if enabled) */
.noUi-tooltip {
    background: #337ab7 !important;
    border: none !important;
    color: #fff !important;
    font-size: 12px !important;
    border-radius: 4px !important;
    padding: 3px 6px !important;
}

.cat-link, .check-link {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
}

    .cat-link .count, .check-link .count {
        color: #555;
    }

.sidebar .wgt-content .cat-list li a:hover, .sidebar .wgt-content .check-list li a:hover {
    color: #111827 !important;
    font-weight: 600;
}

.sidebar .wgt-content .cat-list li.selected, .sidebar .wgt-content .check-list li.selected a {
    color: #2d2d2d;
    font-weight: 600;
}

* {
    --bg-color: 255 255 255 / 1.0;
    --text-color: 9 3 2;
    --drawer-bg-color: 255 255 255 / 1.0;
    --drawer-text-color: 9 3 2;
    --body-font-family: Muli, sans-serif;
    --body-font-style: normal;
    --body-font-weight: 400;
    --body-font-size: 16;
    --input-bg-color: 255 255 255 / 1.0;
    --input-border-width: 1px;
}

.sidebar .wgt-content .check-list li a::before {
    position: absolute;
    top: 5px;
    left: 0;
    content: "";
    display: block;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: calc(.75em - 11px);
    margin-inline-end: .75em;
    border: var(--input-border-width) solid rgb(var(--text-color));
    border-radius: 2px;
    background-color: rgb(var(--input-bg-color));
}

.sidebar .wgt-content .check-list li a::after {
    content: "";
    position: absolute;
    top: calc(.75em + 3px);
    left: 11px;
    width: calc((22px - var(--input-border-width) * 2) * .375);
    height: calc((22px - var(--input-border-width) * 2) * .75);
    transform: translate(-50%,-50%) rotate(45deg);
    border: solid rgba(var(--bg-color));
    border-width: 0 2px 2px 0;
}

.sidebar .wgt-content .check-list li.selected a::before {
    border-color: rgb(var(--text-color));
    background-color: rgb(var(--text-color));
}

@media (max-width: 991.9px) {

    .products-main-content-area {
        background-color: #ebebeb !important;
        padding: 5px !important
    }

    .product-info{
        height: 135px;
    }
}

