.wooautoparts-search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}

.wooautoparts-search-form {
    padding-top: 84px;
    padding-bottom: 60px;
}

.wooautoparts-search-form h1 {
    display: block !important;
    max-width: 1460px;
    padding: 0 30px;
    margin: 0 auto 5px;
    color: #fff;
    font-family: "Host Grotesk", sans-serif;
    font-weight: 700;
    text-shadow: 0px 2px 8px rgb(0 0 0 / 50%);
}

.wooautoparts-search-form form,
.wooautoparts-search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 30px;
}

.wooautoparts-search-form form > div,
.wooautoparts-search-form form > button {
    flex: 1;
}

.wooautoparts-search-form form > div {
    background: #fff;
}

.wooautoparts-search-form form > div select, 
.wooautoparts-search-form form > button {
    width: 100%;
    font-family: "Host Grotesk", sans-serif;
    font-weight: bold;
}

.wooautoparts-search-form form > div select {
    border: 2px solid rgb(0 0 0 / 20%);
    border-right: 1px solid rgb(0 0 0 / 20%);
    padding: 8px;
    font-weight: bold;
}

.wooautoparts-search-form form > button {
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-transform: uppercase;
}

.wooautoparts-search-form form div:last-child select {
    border-right: 2px solid rgb(0 0 0 / 20%);
}

.wooautoparts-search-clear {
    justify-content: flex-end;
}

.wooautoparts-search-clear button {
    background: #000;
    color: #fff;
    font-family: "Host Grotesk", sans-serif;
    font-size: 14px;
    padding: 0 5px;
    height: 24px;
    position: relative;
    border-top: 1px solid rgb(255 255 255 / 20%);
    right: 1px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
}

.wooautoparts-search-clear button:hover {
    color: #000;
    background: #fff;
}

span.wooautoparts-button-arrow {
    margin-left: -27px;
    transform: translateX(-27px);
    overflow: hidden;
    transition: all 0.5s ease;
}

.wooautoparts-search-form form > button:hover span.wooautoparts-button-arrow {
    margin-left: 5px;
    transform: translateX(0px);
    overflow: hidden;
    transition: all 0.5s ease;
}

span.wooautoparts-button-text {
    background: #000;
    z-index: 5;
    padding: 5px;
    position: relative;
}

span.wooautoparts-button-loading {
    display: none;
}

span.wooautoparts-button-loading svg {
    width: 24px;
    height: 24px;
}

.aftermath-category-filtering-terms {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 5px;
    padding: 10px 0;
    flex-wrap: wrap;
}

.aftermath-category-filtering-term a {
    display: block;
    background: #d9d9d9;
    color: #000;
    text-decoration: none;
    padding: 5px 15px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.aftermath-category-filtering-term a:hover {
    background: #000;
    color: #fff;
}

@media screen and (max-width: 991px) {

    .wooautoparts-search-form form {
        flex-direction: column;
    }

    .wooautoparts-search-form form > div {
        width: 100%;
    }

}

@media screen and (max-width: 767px) {

    .woocommerce-tabs.wc-tabs-wrapper {
        flex-direction: column;
    }

    .storefront-full-width-content .woocommerce-tabs ul.tabs {
        max-width: 100% !important;
    }

}