.iqf-bar {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin: 10px 0 14px;
    overflow: hidden;
    padding: 0 15px;
    width: 100%;
    border-radius: 3px;
}

.iqf-bar > * {
    align-items: center;
    background: transparent;
    border: none !important;
    border-left: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: #555;
    display: flex;
    flex: 1 1 0;
    font-size: 13px;
    font-weight: 500;
    justify-content: center;
    line-height: 1.2;
    margin: 0 !important;
    min-width: 0;
    padding: 10px 6px !important;
    text-align: center;
    transition: all .2s ease;
    white-space: nowrap;
}

.iqf-bar > *:first-child {
    border-left: none !important;
}

.iqf-bar > *:hover {
    background: rgba(251, 0, 0, 0.03);
}

.iqf-bar > *:active {
    background: rgba(251, 0, 0, 0.07);
    transform: scale(0.97);
}

.iqf-filter {
    color: #fb0000 !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
}

.iqf-filter .iqf-ico {
    color: #fb0000;
    font-size: 16px;
    line-height: 1;
    margin-right: 5px;
    transition: transform .2s ease;
    display: inline-flex;
    align-items: center;
}

.iqf-filter .iqf-ico svg {
    stroke: #fb0000;
}

.iqf-filter:hover .iqf-ico {
    transform: rotate(-10deg);
}

.iqf-toggle {
    cursor: pointer;
    gap: 7px;
    user-select: none;
    position: relative;
}

.iqf-toggle input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background: #fff;
    border: 1.5px solid #d0d0d0;
    border-radius: 4px;
    cursor: pointer;
    flex: 0 0 auto;
    height: 16px;
    margin: 0;
    position: relative;
    transition: all .15s ease;
    width: 16px;
}

.iqf-toggle input[type="checkbox"]:checked {
    background: #fb0000;
    border-color: #fb0000;
    box-shadow: 0 0 0 2px rgba(251, 0, 0, 0.10);
}

.iqf-toggle input[type="checkbox"]:checked::after {
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: "";
    height: 8px;
    left: 4px;
    position: absolute;
    top: 1px;
    transform: rotate(45deg);
    width: 5px;
}

.iqf-toggle input[type="checkbox"]:checked + .iqf-toggle-label {
    color: #fb0000;
    font-weight: 600;
}

.iqf-sort {
    cursor: pointer;
    gap: 5px;
    user-select: none;
}

.iqf-sort .iqf-sort-text {
    color: #555;
    font-weight: 500;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.iqf-sort .iqf-sort-arrows {
    color: #999;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -2px;
}

.iqf-sort.is-active {
    background: rgba(251, 0, 0, 0.04);
}

.iqf-sort.is-active .iqf-sort-text {
    color: #fb0000;
    font-weight: 600;
}

.iqf-sort.is-active .iqf-sort-arrows {
    color: #fb0000;
}

@media (min-width: 850px) {
    .iqf-bar {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .iqf-bar > * {
        font-size: 12px;
        padding: 9px 4px !important;
    }
    .iqf-filter .iqf-ico {
        font-size: 14px;
        margin-right: 3px;
    }
    .iqf-sort .iqf-sort-text {
        max-width: 36px;
    }
    .iqf-toggle {
        gap: 5px;
    }
    .iqf-toggle input[type="checkbox"] {
        height: 14px;
        width: 14px;
    }
    .iqf-toggle input[type="checkbox"]:checked::after {
        left: 3px;
        top: 1px;
        height: 7px;
        width: 4px;
    }
}

.archive .shop-page-title.is-xlarge {
    margin-bottom: 6px !important;
}

@media (max-width: 849px) {
    .page-title-inner .category-filter-row,
    .page-title-inner .woocommerce-result-count,
    .page-title-inner .woocommerce-ordering,
    .page-title-inner .category-filtering {
        display: none !important;
    }
}

.page-title-inner .shop-page-title {
    margin-bottom: 2px !important;
}