:root{
    --sac-primary:#05CED5;
}

.sac-filter-ui{
    width:100%;
    position: relative;
    z-index: 2;
}

.sac-filter-group{
}

.sac-filter-group h3{
    font-size:24px;
    font-weight:500;
    margin-bottom:32px;
    color:#555;
}

.sac-search-wrap{
    position:relative;
}

#sac-search{
    width:100%;
    height:82px;
    border:2px solid #dce2ee;
    border-radius:999px;
    padding:0 32px;
    font-size:18px;
    background:#fff;
}

#sac-search:focus{
    outline:none;
    border-color:var(--sac-primary);
}

.sac-filter-group-categories {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}

.sac-filter-group-categories label {
    width: 50%;
}

.sac-filter-group-categories input[type="radio"] + label:before,
.sac-filter-group-categories input[type="checkbox"] + label:before,
.sac-filter-group-categories label > input[type="radio"]:before,
.sac-filter-group-categories label > input[type="checkbox"]:before,
.sac-filter-group-categories input[type="radio"].radio:before,
.sac-filter-group-categories input[type="checkbox"].checkbox:before {
  content: none !important;
  border: 0px;
  border-radius: 0px;
  width: 0px; height: 0px;
}

.sac-category {
    position: relative !important;
    width: 16px;
    height: 16px;
    border: 1px solid #d0d0d0;
}

.sac-category:checked {
    background-color: #fff;
    position: relative !important;
}

.sac-category::before, .sac-category:checked::before {
    content: none;
}

.sac-category:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    color: #05CED5;
    border: 2px solid #05CED5;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 50%;
    height: 50%;
    background-color: #05CED5;
}

.sac-checkbox{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:20px;
    font-size:16px;
    color:#222;
}

.sac-checkbox input{
    accent-color:var(--sac-primary);
}

.sac-checkbox small{
    color:#c8c8c8;
    font-size:16px;
}

.sac-filter-group-brands {
    position: relative;
    padding-bottom: 20px;
}

#sac-dropdown-brand {
    border: 2px solid #d0d0d0;
    padding: 10px;
    cursor: pointer;
    border-radius: 10px;

    display: flex;
    align-items: center;
}

#sac-dropdown-brand p {
    margin: 0px;
    font-weight: 700;
    width: 100%;
}

#sac-dropdown-brand img {
    width: 20px;
    height: 20px;

}

#sac-dropdown-brand img.rotated {
    transform: rotate(180deg);
}

#sac-list-brand {
    position: absolute;
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #d0d0d0;
    top: 50px;
    padding: 20px;
}

#sac-list-brand.hidden {
    display: none;
}

.sac-filter-group-brands input[type="radio"] + label:before,
.sac-filter-group-brands input[type="checkbox"] + label:before,
.sac-filter-group-brands label > input[type="radio"]:before,
.sac-filter-group-brands label > input[type="checkbox"]:before,
.sac-filter-group-brands input[type="radio"].radio:before,
.sac-filter-group-brands input[type="checkbox"].checkbox:before {
  content: none !important;
  border: 0px;
  border-radius: 0px;
  width: 0px; height: 0px;
}

.sac-brand {
    position: relative !important;
    width: 16px;
    height: 16px;
    border: 1px solid #d0d0d0;
}

.sac-brand:checked {
    background-color: #fff;
    position: relative !important;
}

.sac-brand::before, .sac-brand:checked::before {
    content: none;
}

.sac-brand:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    color: #05CED5;
    border: 2px solid #05CED5;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 50%;
    height: 50%;
    background-color: #05CED5;
}

.sac-button-wrapper {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.sac-button {
    width:50%;
    height:56px;
    border:none;
    border-radius:999px;

    color:#fff;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    transition:opacity .2s ease;
}

.sac-reset-btn {
    background-color: #C00;
}

.sac-reset-btn:hover {
    background-color: #000;
}

.sac-apply-btn{
    background-color: var(--sac-primary);
}

.sac-apply-btn:hover{
    background-color: #000;
}

.woocommerce-pagination .page-numbers{
    display:flex;
    gap:8px;
    list-style:none;
    padding:0;
}

.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:40px;
    height:40px;
    padding:0 8px;
    border:2px solid #dce2ee;
    border-radius:8px;
    font-size:16px;
    color:#222;
    text-decoration:none;
    transition:all .2s ease;
}

.woocommerce-pagination .page-numbers li a:hover{
    border-color:var(--sac-primary);
}

.woocommerce-pagination .page-numbers li span.current{
    border-color:var(--sac-primary);
    background:var(--sac-primary);
    color:#fff;
}
