.kp-product-search {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    width: min(100%, 40rem);
    margin: 0 0 0.85rem;
}

form.kp-product-search input[type="search"].kp-product-search__input {
    flex: 1 1 14rem;
    min-width: 0;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0.72rem 1.05rem;
    border: 1px solid rgba(58, 26, 24, 0.18);
    border-radius: 999px;
    background: #fff;
    color: #1c1210;
    font-size: 1rem;
    line-height: 1.3;
    box-shadow: inset 0 1px 2px rgba(58, 26, 24, 0.04);
}

form.kp-product-search input[type="search"].kp-product-search__input:focus {
    outline: 2px solid #8b6914;
    outline-offset: 1px;
    border-color: transparent;
}

.kp-product-search__submit,
.kp-product-search__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

form.kp-product-search button.kp-product-search__submit {
    border: 0;
    background: #1c1210;
    color: #fff;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}

form.kp-product-search button.kp-product-search__submit:hover,
form.kp-product-search button.kp-product-search__submit:focus {
    background: #3a1a18;
    color: #fff;
}

.kp-product-search__clear {
    border: 1px solid rgba(58, 26, 24, 0.18);
    background: transparent;
    color: #3a1a18;
}

.kp-product-search__clear:hover,
.kp-product-search__clear:focus {
    background: #f7f1ea;
    color: #1c1210;
}

.kp-product-search__status {
    margin: -0.25rem 0 1rem;
    color: #6a5b54;
    font-size: 0.95rem;
}

.kp-product-search__empty {
    clear: both;
}

body.kp-shop-tab-deals .kp-product-search,
body.kp-shop-tab-deals .kp-product-search__status {
    display: none !important;
}

@media (max-width: 640px) {
    .kp-product-search {
        width: 100%;
    }

    .kp-product-search__submit,
    .kp-product-search__clear {
        flex: 1 1 auto;
    }
}
