/* sidebar */
#sidebar-filter {
    background-color: #fff;
}


#sidebar-filter ul {
    margin: 0px;
    padding: 0px;
}

#sidebar-filter ul li {
    list-style: none;
}

#sidebar-filter ul li a {
    background: #1C1E1F;
    color: #ccc;
    border-bottom: 1px solid #111;
    display: block;
    width: 180px;
    padding: 10px;
    text-decoration: none;
}

.filter-btn-icon {
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 15px;
    cursor: pointer;
    margin: 20px;
    position: relative;
    /* top:0px; 
	 right:-60px; */
}

.filter-btn-icon span {
    height: 1px;
    background: #111;
    margin-bottom: 5px;
    display: block;
}

.filter-btn-icon span:nth-child(2) {
    width: 75%;
}

.filter-btn-icon span:nth-child(3) {
    width: 50%;
}



#filter-form .sidebar-header {
    height: 62px;
    margin-bottom: 20px;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0 18px;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
}

#filter-form .sidebar-icon svg {
    -webkit-transform: skew(45deg);
    -ms-transform: skew(45deg);
    transform: skew(45deg);
    margin-left: 40px;
    -webkit-transition: .3s;
    transition: .3s;
}

#filter-form .sidebar-toggle {
    color: #000;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 28px;
    text-transform: none;
    margin-left: 70px;
}

#filter-form .sidebar-icon {
    position: absolute;
    left: -4px;
    top: 50%;
    background-color: #7c7d7d;
    /* border: solid 1px #7c7d7d; */
    height: 100%;
    width: 115px;
    -webkit-transform: translate(-40%, -50%) skew(-45deg);
    -ms-transform: translate(-40%, -50%) skew(-45deg);
    transform: translate(-40%, -50%) skew(-45deg);
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: .3s;
    transition: .3s;
}

.sidebar-info {
    padding: 17px 20px 28px;
    background-color: #fff;
    border-bottom: 1px solid #e2e2e2;
    border-top: 1px solid #e2e2e2;
    display: none;
    margin-bottom: 20px;
}

.sidebar-info .clear-btn {
    height: 38px;
    width: 100%;
    border: 2px solid #000;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .2px;
    line-height: 18px;
}

.search-box {
    border-bottom: 1px #eee solid;
    margin-bottom: 20px;
    padding: 20px;
}

#filter-form .taxonomy-group {
    border-bottom: 1px #eee solid;
    margin-bottom: 20px;
    padding: 20px;
}

#filter-form .taxonomy-group label {
    margin-bottom: 15px;
    font-weight: 400;
}

#filter-form .taxonomy-group input {
    margin: 0 10px 0 0;
}

.taxo-title {
    position: relative;
}

.taxo-title h4 {
    font-weight: 700;
    text-transform: uppercase;
}

.ajax-pagination {
    display: flex;
    gap: 10px
}

.ajax-pagination .page-numbers {
    background: #e2ddd7;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    height: 50px;
    padding: 13px 20px;
    display: block;
}

.ajax-pagination .page-numbers.current,
.ajax-pagination .page-numbers:hover {
    background-color: #555;
    color: #fff;
}

.taxo-title::after {
    content: "";
    position: absolute;
    right: 10px;
    background: url(./images/arrow-down-red.svg) center no-repeat;
    width: 35px;
    height: 35px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: .3s;
    transition: .3s;
}

.taxo-title.accordion-toggle.open::after {
    -webkit-transform: translateY(-50%) rotate(-180deg);
    -ms-transform: translateY(-50%) rotate(-180deg);
    transform: translateY(-50%) rotate(-180deg);
    top: 50%;
}

.side-filter .check-text {
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    padding: 4px 25px 4px 12px;
    display: block;
    -webkit-transition: .3s;
    transition: .3s;
    position: relative;
    font-family: Barlow;
}

.side-filter .check-text:after,
.side-filter .check-text:before {
    width: 18px;
    height: 2px;
    border-radius: 10px;
    background-color: #2a2417;
    position: absolute;
    right: 10px;
    top: 50%;
    -webkit-transform: translateY(-50%) rotate(45deg);
    -ms-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
    content: "";
    opacity: 0;
    -webkit-transition: .3s;
    transition: .3s;
}

.side-filter .check-text:before {
    -webkit-transform: translateY(-50%) rotate(-45deg);
    -ms-transform: translateY(-50%) rotate(-45deg);
    transform: translateY(-50%) rotate(-45deg);
}

input:checked+.check-text:after,
input:checked+.check-text:before {
    opacity: 1;
}

.category-page #filter-form .taxonomy-group label {
    cursor: pointer;
}

.category-page #filter-form .taxonomy-group input,
.post-type-archive-du-an #filter-form .taxonomy-group input {
    display: none;
}

input:checked+.check-text,
div[data-tax="product_cat"] .check-text.active {
    background-color: rgb(33 33 33 / .12);
}

.sf-checkbox {
    position: relative;
}

/*  */


body.scroll-lock {
    overflow: hidden;
}

/* Overlay để tối nền */
#sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 1000;
}

/* Khi mở */


#sidebar-overlay.active {
    display: block;
}

/* Nút đóng */
#sidebar-close {
    background: none;
    border: none;
    font-size: 24px;
    float: right;
    margin: 10px;
    cursor: pointer;
}

/*  */
.box-flex {
    display: flex;
}

.box-wrap {
    width: 416px;
    flex-shrink: 0;
    transition: width 0.25s ease;
    height: 100%;
}

.box-wrap.collapsed {
    width: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    height: 0;
}

.box-wrap.collapsed #custom-sidebar {
    display: none;
}

.box-content {
    flex-grow: 1;
    transition: all 0.25s ease;
    min-width: 0;

}

/*  */

.filter_checked {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.filter-group {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
}

.filter-tax-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    cursor: pointer;
}

.filter-item {
    margin: 3px 0;
    margin-left: 10px;
    cursor: pointer;
    /* color: #0073aa; */
}


/* Sản phẩm */
#sidebar-toggle {
    background-color: #7c7d7d;
    border: solid 1px #7c7d7d;
    color: #fff;
}
#sidebar-toggle:hover{
    background-color: #fff;
    border: solid 1px #7c7d7d;
    color: #7c7d7d;
}
@media (max-width:990px) {
    .box-wrap {
        width: 100%;
    }
}