/* Hide filter sidebar by default in mobile view */
.filter-sidebar {
    display: none;
    position: fixed;
    left: 0;
    top: 80px;
    width: 80%;
    height: calc(100% - 80px);
    background: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.5);
    padding: 20px;
    z-index: 1005;
    overflow-y: visible; /* Ensure the sidebar is scrollable */
}

/* Show filter sidebar when active in mobile view */
.filter-sidebar.active {
    display: block;
}

/* Close button inside filter sidebar */
button#close-filter-button {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #fff;
    background: red;
    padding: 8px;
}
    
/* Sticky filter toggle button at the bottom of the screen */
.filter-toggle-button {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
}

/* Adjust styles for larger screens */
@media (min-width: 768px) {
    .filter-sidebar {
        display: block;
        position: static;
        width: auto;
        height: auto;
        box-shadow: none;
        padding: 0;
        overflow-y: visible; /* Remove scrollability in larger screens */
    }
    .filter-toggle-button {
        display: none;
    }
    button#close-filter-button {
        display: none;
    }
}
    
/* Adjust styles for merch blocks in mobile */
@media (max-width: 767px) {
    .products-container ul#merch-filtered-products li {
        width: 100% !important;
    }
}

/* child theme css for merch filters */
button#filter-toggle-button {
    background: #022b56;
    border-color: #fff;
}

.products-container ul#merch-filtered-products {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    list-style: none;
}

.products-container ul#merch-filtered-products>div.edubin-single-product-item {
    width: 270px;
    min-width: 290px !important;
    margin-bottom: 1rem;
}

.products-container ul#merch-filtered-products div h2 {
    font-size: 16px;
}

.products-container ul#merch-filtered-products div h2:hover,
.products-container ul#merch-filtered-products div bdi {
    color: #022b56;
}

.products-container ul#merch-filtered-products div h2::after {
    content: 'Free Shipping Worldwide';
    display: block;
    padding: 10px 0 0;
    color: orange;
    font-family: Roboto;
    font-size: 16px;
}

.edubin-single-product-inner .edubin-single-product-thumb-wrapper .edubin-single-product-thumb{
    height: 200px !important;
    background-size: contain !important;
	background-color: #fff !important;
}

.products-container ul#merch-filtered-products div bdi {
    font-size: 18px;
    font-weight: 600;
    color: #272727;
}

.products-container .pagination span.page-numbers.current {
    border-radius: 50px;
    padding: 6px 15px;
    color: #fff;
    margin: 5px;
}

.products-container .pagination a.page-numbers {
    padding: 5px;
    color: #000;
    margin: 5px;
}

.filter-container input#merch-search {
    margin-bottom: 1rem;
}

.products-container ul#merch-filtered-products div img:hover {
    transform: scale(1.03);
    transition: 1s;
}

.results-info p {
    font-weight: 500;
    margin-bottom: 0;
}

.results-info p span {
    color: #022b56;
}

div#filter-toggle-wrapper {
    position: relative;
}
div#filter-toggle-wrapper button#desktop-filter-toggle-button {
     position: absolute;
     top: 8px;
     right: 0;
     background: #fff;
     border: 1px solid #022b56;
     color: #022b56;
     font-size: 15px;
     font-weight: 500;  
}
div#filter-toggle-wrapper button#desktop-filter-toggle-button:hover {
     background: #022b56;
     border: 1px solid #022b56;
     color: #fff;
     font-size: 15px;
     font-weight: 500;   
}
@media(min-width: 993px){
div#sidebar {
    width: 25%;
}

div#main-content {
    width: 75%;
}
}

@media(max-width: 992px){
div#sidebar {
    display: none;
}
div#main-content {
    width: 100% !important;
    margin: 25px !important;
}
body:not(.home) div#content {
    padding: 40px 0;
}
.products-container ul#merch-filtered-products{
    padding-left: unset;
}

.products-container ul#merch-filtered-products>div.edubin-single-product-item {
    width: 280px !important;
    min-width: 100% !important;
}
.products-container ul#merch-filtered-products{
    padding: 0 !important;
}
}
.category-checkbox {}

form#merch-filter-form input{
    margin-right: 10px;
}

form#merch-filter-form button {
    margin-top: 20px;
}

.products-container {
    padding: 0 15px;
}
.products-container ul{
    padding: 0;
}
