/* ************************************************************************************************
                                                                Categories Page Styles
************************************************************************************************ */
.content_scene_cat {
    color: #d7d7d7;
    line-height: 19px;
    margin: 0 0 0 0;
}

.content_scene_cat .content_scene_cat_bg {
    margin-top: 0px;
    margin-bottom: 0px;
    max-width: 100%;
    max-height: 100%;
    border: 0px solid #ffffff;
    padding: 0;
}

.content_scene_cat span.category-name {
    font: 600 20px/30px "Open Sans", sans-serif;
    color: white;
    margin-bottom: 12px;
}

@media (max-width: 1199px) {
    .content_scene_cat span.category-name {
        font-size: 16px;
        line-height: 26px;
    }
}

.content_scene_cat p {
    margin-bottom: 0;
}

.content_scene_cat a {
    color: white;
}

.content_scene_cat a:hover {
    text-decoration: underline;
}

.content_scene_cat .content_scene {
    color: #777777;
}

.content_scene_cat .content_scene .cat_desc {
    padding-top: 20px;
}

.content_scene_cat .content_scene .cat_desc a {
    color: #777777;
}

.content_scene_cat .content_scene .cat_desc a:hover {
    color: #515151;
}

/* ************************************************************************************************
    Sub Categories Styles 
************************************************************************************************ */
#subcategories {
    width: 100%;
    padding: 5px 0 0 0;
}

#subcategories p.subcategory-heading {
    font-weight: bold;
    color: #333333;
    margin: 0 0 15px 0;
}

#subcategories ul {
    margin: 0px;
}

#subcategories ul li {
    float: left;
    width: 25%;
    text-align: center;
}

/* Category Header Slider */
.cat-header-slider {
    margin-bottom: 4px;
    display: flex;
    overflow: hidden;
}

.cat-header-slider:not(.slick-initialized) .cat-header-slide {
    min-width: 22.56%;
    max-width: 22.56%;
}

@media (max-width: 575px) {
    .cat-header-slider:not(.slick-initialized) .cat-header-slide {
        min-width: 45%;
        max-width: 45%;
    }
}

.cat-header-slider .slick-list {
    padding-right: 10% !important;
}

.cat-header-slider .cat-header-slide {
    display: block;
    position: relative;
    padding: 0 3px;
}

.cat-header-slider .cat-header-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.cat-header-slide-title {
    position: absolute;
    bottom: 10px;
    left: 13px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
    .content_scene_cat_bg {
        margin-bottom: 4px !important;
    }
}


@media (max-width: 768px) {
    #subcategories ul li {
        width: 33% !important;
    }
}

@media (max-width: 425px) {
    #subcategories ul li {
        width: 50% !important;
    }
}


#subcategories ul li .subcategory-image {
    padding: 0px;
}

#subcategories ul li .subcategory-image a {
    display: block;
    padding: 0px;
    border: 0px solid #e5e5e5;
}

#subcategories ul li .subcategory-image a img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

#subcategories ul li h5 {
    padding: 0px;
    margin: 5px 0px 0px 0px;
    min-height: 50px;
}

#subcategories ul li .subcategory-name {
    color: #2d2c2c;
    text-transform: uppercase;
    /*background-color: #000; */
}

@media (min-width: 425px) {
    #subcategories ul li .subcategory-name {
        font: 400 20px/22px "Oswald", sans-serif;
        padding: 0px 10px;
    }
}

@media (max-width: 425px) {
    #subcategories ul li .subcategory-name {
        font: 400 16px/18px "Oswald", sans-serif;
        padding: 0px 2px;
    }
}

#subcategories ul li .cat_desc {
    display: none;
}

#subcategories ul li:hover .subcategory-image a {
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.3));
}

#category_description_full {
    margin-bottom: 28px;
}

/*#subcategories {
    display:none;
}*/

.category-title,
.category-title h1 {
    font-family: 'Oswald', Verdana, sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
}

.category-title {
    border-bottom: 1px solid #eee;
    height: 40px;
    padding: 10px 5px 10px 12px;
}

#center_column .category-title {
    display: flex;
    justify-content: space-between;
}

#center_column .category-title .category-title-right-side {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

#center_column .category-title .category-title-right-side .grid-layout-options {
    display: flex;
    column-gap: 10px;
}

#center_column .category-title .category-title-right-side .grid-layout-options a > img {
    max-height: 20px;
}

#productsSortForm .select.selector1 {
    align-items: center;
}

#productsSortForm .arif_tooltip_container {
    display: flex;
    align-items: center;
    margin-left: 6px;
    padding: 0;
    line-height: 1;
}

/* Sort widget — Uniform wrapper styled as button-dropdown */
div.selector#uniform-selectProductSort {
    display: flex !important;
    align-items: center;
    height: 30px;
    border: 1px solid #e5e5e5 !important;
    background: #fff;
    cursor: pointer;
    position: relative;
    overflow: visible;
    padding: 0 28px 0 30px;
    box-shadow: none;
}

div.selector#uniform-selectProductSort::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background: url('../img/icon/sort.svg') no-repeat center / contain;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

div.selector#uniform-selectProductSort::after {
    content: "\f107";
    font-family: FontAwesome;
    font-size: 14px;
    color: #999;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

div.selector#uniform-selectProductSort > span {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    white-space: nowrap;
    background: none !important;
    padding-right: 0 !important;
    line-height: 30px;
}

div.selector#uniform-selectProductSort select {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.active-icon {
    opacity: 1;
}

.inactive-icon {
    opacity: 0.2;
}

#center_column .category-title .category-title-left-side {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    line-clamp: 1;
    /* overflow: hidden; */
    -webkit-line-clamp: 1;
    white-space: nowrap;
    margin: 0;
    font: normal 20px / 17px "Oswald", sans-serif;
}

#center_column .category-title .category-title-left-side span:nth-child(2) {
    font-weight: 300;
}

#productsSortForm .arif_tooltip_container .fa.fa-question-circle {
    display: block;
}

@media (min-width: 768px) {
    #category .columns-container-middle {
        padding-top: 16px;
    }

    #center_column .category-title .category-title-left-side h1 {
        font: 500 20px / 17px "Oswald", sans-serif;
    }

    #productsSortForm .arif_tooltip_container .fa.fa-question-circle {
        display: none;
    }

    #productsSortForm .arif_tooltip_container .fa.fa-question-circle-o {
        display: block;
    }
}

@media (max-width: 767px) {
    .category-title {
        border-bottom: 0;
        height: 37px;
        margin-top: 2px;
        /* background-color:#2d2c2c; */
        /* color: #fff; */
        padding: 10px 5px 10px 5px;
        color: #333;
        font-family: 'Poppins', sans-serif;
    }

    .set-columns img {
        filter: invert(100%) brightness(100%);
    }

    #productsSortForm .arif_tooltip_container .fa.fa-question-circle-o {
        display: none;
    }
}

/* Active Filters Styles */
#active_filters_above_products {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.clear-all-filters {
    display: inline-flex !important;
    align-items: center;
    padding: 6px 6px 6px 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #000;
}

.active-filter-tag {
    display: inline-flex !important;
    align-items: center;
    color: #000;
    padding: 6px 6px 6px 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.clear-all-filters:hover {
    text-decoration: none;
    border-color: #FF5A00;
}

.clear-all-filters .filter-label {
    margin-left: 0;
}

.clear-all-filters:hover .remove-filter {
    filter: invert(15%) sepia(85%) saturate(7495%) hue-rotate(355deg) brightness(98%) contrast(118%);
}

.clear-all-filters,
.active-filter-tag {
    gap: 10px;
}

.active-filter-tag:hover {
    border-color: #adb5bd;
}

.clear-all-filters .filter-label,
.active-filter-tag .filter-label {
    line-height: normal;
}

.remove-filter {
    color: #666;
    transition: color 0.2s ease;
    display: inline-block;
    line-height: 1;
    text-decoration: none;
}

.remove-filter:hover {
    cursor: pointer;
    color: #FF5A00;
    text-decoration: none;
}

.remove-filter i {
    font-size: 13px;
    line-height: 1;
    vertical-align: middle;
}

.close-icon-svg {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

/* Hover effect only for individual filter tags (not clear-all) */
.active-filter-tag .remove-filter:hover .close-icon-svg {
    filter: invert(15%) sepia(85%) saturate(7495%) hue-rotate(355deg) brightness(98%) contrast(118%);
}

/* Clear-all button icon should not change color on hover */
.clear-all-filters .remove-filter .close-icon-svg {
    filter: none;
}

.clear-all-filters:hover .remove-filter .close-icon-svg {
    filter: none;
}

/* Mobile responsive */
@media (max-width: 767px) {
    #active_filters_above_products {
        padding-left: 10px;
        padding-right: 10px;
        margin: 10px 0;
    }
    
    .clear-all-filters,
    .active-filter-tag {
        font-size: 12px;
    }

    #category_description_short {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4em;
        white-space: normal;
    }

    #center_column {
        background: #f7f7f7;
    }

    #subcategories,
    .product_list {
        background: #fff;
    }

    .category-title {
        padding: 15px;
        height: auto;
    }

    .cat_desc {
        padding: 15px 5px !important;
    }

    #category .cat_desc.rte h2 {
        background: inherit;
    }

    .mobile-filter-btn {
        background: none;
        border: none;
        font-family: 'Poppins', sans-serif;
        font-size: 16px;
        font-weight: 300;
        width: 100%;
        padding: 10px;
        color: #111;
        text-align: left;
    }

    .mobile-filter-btn i {
        margin-right: 5px;
    }

    .mobile-filter-badge {
        display: none;
        align-items: center;
        justify-content: center;
        min-width: 20px;
        height: 20px;
        padding: 0 6px;
        margin-left: 8px;
        background-color: #111;
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        border-radius: 10px;
        line-height: 1;
    }

    .mobile-filter-badge.active {
        display: inline-flex;
    }

    #mobile-category-filter-sort {
        padding: 0 10px;
        margin: 10px -15px;
    }

    #mobile-category-filter-sort > .col-xs-6 {
        border-right: 1px solid #dedede;
    }

    #mobile-category-filter-sort .productsSortForm,
    #mobile-category-filter-sort .select.selector1 {
        width: 100%;
        height: 38px;
    }

    #mobile-category-filter-sort .select.selector1 {
        align-items: center;
    }

    #mobile-category-filter-sort #uniform-selectProductSort {
        background: transparent;
        border: 0 !important;
        box-shadow: none;
        height: 38px;
        padding: 0 16px 0 28px;
        width: 100% !important;
    }

    #mobile-category-filter-sort #uniform-selectProductSort::before {
        left: 0;
        width: 18px;
        height: 18px;
    }

    #mobile-category-filter-sort #uniform-selectProductSort > span {
        font-family: 'Poppins', sans-serif;
        font-size: 16px;
        font-weight: 400;
        background: none !important;
        color: #111;
        line-height: 38px;
        flex: 1;
        margin-left: 5px;
    }

    #mobile-category-filter-sort #uniform-selectProductSort::after {
        right: 0;
    }

}

.cat-header-slider .slick-prev, 
.cat-header-slider .slick-next {
    z-index: 1;
}

.cat-header-slider .slick-prev {
    left: 0;
}

.cat-header-slider .slick-next {
    right: 0;
}