.ngwct-toolbar {
    display: flex !important;
    clear: both !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    position: relative !important;
    z-index: 2 !important;
}

.ngwct-search {
    position: relative !important;
    max-width: 100% !important;
    flex: 0 1 auto !important;
}

.ngwct-search-input {
    margin: 0 !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transition: border-color .2s ease, box-shadow .2s ease !important;
}

.ngwct-search-input:focus {
    border-color: var(--ngwct-search-focus, #2271b1) !important;
    box-shadow: 0 0 0 1px var(--ngwct-search-focus, #2271b1) !important;
}

.ngwct-search-icon {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
    line-height: 1 !important;
    font-size: 22px !important;
}

.ngwct-sorting {
    flex: 0 0 auto !important;
}

.ngwct-sorting .woocommerce-ordering {
    float: none !important;
    margin: 0 !important;
    width: 100% !important;
}

.ngwct-sorting .woocommerce-ordering select,
.ngwct-sorting select.orderby {
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.ngwct-loading {
    opacity: .5 !important;
    pointer-events: none !important;
}

@media (max-width: 768px) {
    .ngwct-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .ngwct-search,
    .ngwct-sorting,
    .ngwct-sorting .woocommerce-ordering,
    .ngwct-sorting select.orderby {
        width: 100% !important;
        max-width: 100% !important;
    }
}
