 @media only screen and (min-width: 992px) {
        .product .text {
            min-height: 20px;
        }
    }

    .product .text {
        padding: 10px;
        overflow: hidden;
    }

    /* .item-product-cat {
        margin-bottom: 30px;
    } */

    .innerrr {
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: transform 0.3s ease;
    }

    .innerrr:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .thumb {
        position: relative;
        height: 80%;
        overflow: hidden;
    }

    .product .item .thumb .photo {
        width: 100%;
        height: 310px;
        -webkit-background-size: cover;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .photo {
        width: 100%;
        height: 310px;
        background-size: cover;
        background-position: center;
        transition: transform 0.3s ease;
    }

    .innerrr:hover .photo {
        transform: scale(1.1);
    }

    .text {
        padding: 15px;
        text-align: center;
        height: revert;
        display: contents;
        flex-direction: column;
        justify-content: center;
        background-color: white !important;
    }

    .text h3 {
        font-family: Garamond, serif;
        /* Use Garamond as the primary font */
        font-size: 18px;
        /* Adjust the size to your preference */
        font-weight: bold;
        /* Make the text bold */
        color: #333;
        /* A dark gray color for good readability */
        text-decoration: none;
        /* Remove underline */
        transition: color 0.3s ease;

    }

    .text h3 a {
        color: #333;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .text h3 a:hover {
        color: #007bff;
    }

    .text h4 {
        margin: 0;
        font-size: 0.95rem;
        color: #666;
    }

    .current-price {
        color: #007bff;
        font-weight: bold;
        font-size: 1.5rem;
    }

    .old-price {
        color: #999;
        margin-left: 8px;
    }

    @media (min-width:768px) {
        .container {
            width: 750px
        }
    }

    @media (min-width:992px) {
        .container {
            width: 970px
        }
    }

    @media only screen and (min-width: 1200px) {
        .container {
            width: 90% !important;
            /* Allow more space earlier */

        }

        .prodrow {
            display: ruby;
        }

        .thumb .photo {
            width: 100%;
            height: 310px;
            /* Remove fixed height */
            aspect-ratio: 1/1;
            /* Maintain square aspect ratio */
        }

        /* Adjusting product text alignment */
        .product .text {
            min-height: 40px;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        /* Making product cards more spacious */
        .innerrr {
            border-radius: 12px;
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
        }

        .innerrr:hover {
            transform: translateY(-8px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
        }

        /* Enlarging images */
        .photo {
            height: 350px;
        }
    }

    /* General Styles */
    .filter-bar {
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .dropdown {
        position: relative;
    }

    .dropdown-toggle {
        background-color: #fff;
        border: 1px solid #ddd;
        padding: 10px 15px;
        border-radius: 5px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 14px;
        color: #333;
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }

    .dropdown-toggle:hover {
        background-color: #f8f9fa;
        border-color: #ccc;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 5px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 10px;
        z-index: 1000;
        min-width: 200px;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-menu li {
        list-style: none;
        margin: 5px 0;
    }

    .dropdown-menu label {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-size: 14px;
        color: #333;
    }

    .dropdown-menu input[type="radio"],
    .dropdown-menu input[type="checkbox"] {
        margin-right: 10px;
        accent-color: #000;
        /* Modern checkbox/radio button styling */
    }

    #selected-filters {
        margin-top: 20px;
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .selected-filters h4 {
        color: black !important;
        font-size: 16px;
        margin-bottom: 10px;
    }

    .selected-filters-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .selected-filters-list .filter-tag {
        background-color: #f8f9fa;
        border: 1px solid #ddd;
        padding: 5px 10px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 14px;
        color: #333;
    }

    .selected-filters-list .filter-tag .remove-filter {
        cursor: pointer;
        color: #999;
        font-size: 12px;
    }

    .selected-filters-list .filter-tag .remove-filter:hover {
        color: #333;
    }

    #selected-filters-list .badge {
        background-color: #e4e4e4;
        color: black;
        font-size: small;
        font-weight: 300;
        padding: 8px 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }


    /* Remove Filter Button Styling */
    #selected-filters-list .btn-danger {
        background-color: #e4e4e4;
        border: none;
        color: black;
        font-size: 2rem;
        padding: 4px 8px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        cursor: pointer;
        margin-bottom: 2px;
         transition: background-color 0.3s ease;
    }
