.search-result-wrapper {
    width: 100%;
    position: relative;
}

.input-field-card #Search {
    text-transform: uppercase;
    font-size: 16px;
    border-radius: 3px 0 0 3px;
    height: 50px;
    text-transform: none;
    padding: 0 20px;
    border: 1px solid #ccc;
    border-right: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.input-field-card input:focus {
    outline: 0;
}

.input-field-card input::placeholder {
    color: rgb(0, 0, 0);
}

ul.search-result {
    padding: 0;
    background: #fff;
    width: 100%;
    border-radius: 0;
    max-height: 340px;
    overflow-y: auto;
    float: right;
    position: absolute;
    left: 0px;
    top: 100%;
    z-index: 999;
    margin-top: 0;
    border: 1px solid #ddd;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

ul.search-result a {
    color: #000;
    display: block;
    padding: 10px 14px;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
}

ul.search-result a:hover {
    background: #f5f5f5;
}

.input-field-card {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.header-search-category {
    flex: 0 0 180px;
    height: 50px;
    border: 1px solid #ccc;
    padding: 0 22px 0 10px;
    font-size: 14px;
    background: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23666' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 8px) center;
    background-size: 10px 6px;
    color: #31353d;
    outline: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.header-search-category::-ms-expand {
    display: none;
}

.text-header1 input.headersearchbutton,
.text-header input.headersearchbutton,
.input-field-card input.headersearchbutton {
    position: static !important;
    margin-left: 0;
    width: 46px !important;
    min-width: 46px;
    height: 50px !important;
    border: 1px solid #063f9d;
    background-color: #063f9d;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0 3px 3px 0;
}

ul.search-result li {
    list-style: none;
    padding: 8px 12px;
    border-bottom: 1px #ddd solid;
    background: #f1f1f1;
    color: #444;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.header-search-result-product {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.header-search-result-thumb {
    width: 42px;
    height: 42px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    border: 1px solid #eee;
}

.header-search-result-thumb img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.header-search-result-title {
    display: block;
    color: #3a3a3a;
    line-height: 1.25;
}

.header-search-result-price {
    display: block;
    color: #f15a24;
    font-size: 12px;
    margin-top: 3px;
}

.header-search-result-product > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-search-result-product > span:last-child > span:not(.header-search-result-title):not(.header-search-result-price) {
    color: #666;
    line-height: 1.25;
}

a.header-search-suggestion {
    padding: 8px 12px;
    color: #333;
    line-height: 1.3;
}

@media (max-width: 767px) {
    ul.search-result {
        max-height: 55vh;
    }

    ul.search-result a {
        padding: 8px 10px;
    }

    ul.search-result li {
        padding: 7px 10px;
        font-size: 11px;
    }

    .header-search-result-thumb {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .header-search-result-thumb img {
        width: 32px;
        height: 32px;
    }

    .header-search-result-title {
        font-size: 13px;
    }

    .header-search-category {
        flex: 0 0 108px;
        height: 42px;
        font-size: 11px;
        padding: 0 18px 0 8px;
        background-size: 8px 5px;
        background-position: calc(100% - 5px) center;
    }

    .input-field-card #Search {
        height: 42px;
        padding: 0 10px;
    }

    .text-header1 input.headersearchbutton,
    .text-header input.headersearchbutton,
    .input-field-card input.headersearchbutton {
        width: 40px !important;
        min-width: 40px;
        height: 42px !important;
    }
}