/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:      Caelum
 Author URI:   http://Caelum.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
.wd-cat .wd-cat-header h3 a,
.wd-cat-sub-menu li a,
.product-category .wd-cat-header h3 a {
    font-size: 1rem !important;
    font-weight: 400 !important;
    color: #1E293B !important;
}
.wd-cat .wd-cat-header,
.product-category .wd-cat-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 5px 0 !important;
    cursor: pointer !important;
    position: relative !important;
}
.wd-cat:has(.wd-cat-sub-menu li) .wd-cat-header h3,
.product-category:has(.wd-cat-sub-menu li) .wd-cat-header h3 {
    flex: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.wd-cat:has(.wd-cat-sub-menu li) .wd-cat-header h3 a,
.product-category:has(.wd-cat-sub-menu li) .wd-cat-header h3 a {
    display: inline-block !important;
    padding: 4px 0 !important;
    transition: 0.2s !important;
}
.wd-cat:has(.wd-cat-sub-menu li) .wd-cat-header h3 a:hover,
.product-category:has(.wd-cat-sub-menu li) .wd-cat-header h3 a:hover {
    color: #E11D48 !important;
}
.wd-cat:has(.wd-cat-sub-menu li) .wd-cat-header h3::after,
.product-category:has(.wd-cat-sub-menu li) .wd-cat-header h3::after {
    content: "\f104" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    color: #64748B !important;
    transition: 0.3s !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 28px !important;
    height: 28px !important;
    border: 2px solid rgba(34, 152, 185, 0.1) !important;
    border-radius: 50% !important;
    background: transparent !important;
    margin-right: 0 !important;
}
.wd-cat:has(.wd-cat-sub-menu li).wd-active .wd-cat-header h3::after,
.product-category:has(.wd-cat-sub-menu li).wd-active .wd-cat-header h3::after {
    transform: rotate(-90deg) !important;
    color: #E11D48 !important;
    border-color: #E11D48 !important;
}
.wd-cat:has(.wd-cat-sub-menu li) .wd-cat-header h3:hover::after,
.product-category:has(.wd-cat-sub-menu li) .wd-cat-header h3:hover::after {
    color: #E11D48 !important;
    border-color: #E11D48 !important;
}
.wd-cat .wd-cat-sub-menu,
.product-category .wd-cat-sub-menu {
    display: none !important;
    padding-right: 20px !important;
    margin: 0 !important;
    list-style: none !important;
    position: relative !important;
}
.wd-cat .wd-cat-sub-menu::before,
.product-category .wd-cat-sub-menu::before {
    content: '' !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 2px !important;
    background: rgba(225, 29, 72, 0.15) !important;
    border-radius: 2px !important;
}
.wd-cat.wd-active .wd-cat-sub-menu,
.product-category.wd-active .wd-cat-sub-menu {
    display: block !important;
}
.wd-cat-sub-menu li {
    padding: 4px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    border-bottom: none !important;
}
.wd-cat-sub-menu li a {
    display: block !important;
    padding: 4px 10px 4px 5px !important;
    transition: 0.2s !important;
    border-right: 2px solid transparent !important;
}
.wd-cat-sub-menu li a:hover {
    color: #E11D48 !important;
    padding-right: 15px !important;
    border-right-color: #E11D48 !important;
}
.wd-cat .wd-cat-header h3 a:hover,
.product-category .wd-cat-header h3 a:hover {
    color: #E11D48 !important;
}
.elementor-element-9a75c13 .elementor-icon-box-title span {
    color: #23406A !important;
    font-weight: 700 !important;
}
.elementor-element-9a75c13 .elementor-divider-separator {
    border-top: 2px solid #23406A !important;
    opacity: 0.15 !important;
}
/* تغییر دکمه فیلتر */
.wd-pf-btn .btn-accent{
    width:100%!important;
    font-size:0!important;
    padding:12px 20px!important;
    background:#23406A!important;
    border:none!important;
    border-radius:6px!important;
}
.wd-pf-btn .btn-accent::before{
    content: "جست‌و‌جو" !important;
    font-size:16px!important;
    font-weight:600!important;
    line-height:1!important;
}
.wd-pf-btn .btn-accent:hover{
    background:#E11D48!important;
}

/* تغییر لینک فیلتر */
.wd-pf-price-range a.pf-value,
.wd-pf-btn a.pf-value,
.product-filter a.pf-value{
    font-size:0!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:6px 14px!important;
    background:#23406A!important;
    border-radius:4px!important;
    color:#fff!important;
    text-decoration:none!important;
}
.wd-pf-price-range a.pf-value::before,
.wd-pf-btn a.pf-value::before,
.product-filter a.pf-value::before{
    content: "جست‌و‌جو" !important;
    font-size:14px!important;
    font-weight:500!important;
    line-height:1!important;
}
.wd-pf-price-range a.pf-value:hover,
.wd-pf-btn a.pf-value:hover,
.product-filter a.pf-value:hover{
    background:#E11D48!important;
}
/* ریسپانسیو */
@media (max-width:768px){
    .wd-pf-btn .btn-accent{
        padding:14px 16px!important;
        min-height:48px!important;
    }
}
@media (max-width:480px){
    .wd-pf-btn .btn-accent{
        padding:16px 14px!important;
        min-height:52px!important;
    }
}
