#search_form_simple {
    position: relative;
    width: 100%;
}

@media only screen and (max-width: 768px) {
    #search_form_simple {
        position: relative;
        width: 100%;
    }
}

.keyword_simple {
    border-radius: 25px;
    color: #797979;
    padding: 0 55px 0 10px;
    width: 100%;
    border: none;
    height: 50px;
    outline: none;
}

.searchbt_simple {
    background: url(../images/icon-search.png) no-repeat scroll center center;
    border: medium none;
    position: absolute;
    right: 10px;
    width: 36px;
    top: 10px;
    text-indent: -99999px;
}

@media only screen and (max-width: 768px) {
    .searchbt_simple {
        border-radius: 3px;
        color: #fff;
        font-weight: 700;
        text-align: center;
        text-indent: inherit;
        text-transform: uppercase;
        /* width: 52px; */
        top: 0;
        right: 5px;
    }
    .keyword_simple {
        height: 34px;
        
    }
    .clear-keyword {
        right: 40px;
    }
}

.ui-widget-content {
    display: block;
    width: 345px;
    margin: 55px auto 0;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    box-shadow: 0 1px 3px 0 #7d7d7d;
    -webkit-box-shadow: 0 1px 3px 0 #7d7d7d;
    -moz-box-shadow: 0 1px 3px 0 #7d7d7d;
    background: #fff;
    position: absolute;
    z-index: 999;
    left: 170px;
}

.ui-widget-content li {
    display: block;
    background: #fff;
    overflow: hidden;
    list-style: none;
    border-bottom: 1px dotted #ccc;
}

.ui-widget-content li a {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 6px;
}

.ui-widget-content li img {
    float: left;
    width: 50px;
    height: 50px;
    margin: 0 6px 0 0;
}

.ui-widget-content li h3 {
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
}

.ui-widget-content li span.price {
    float: left;
    font-size: 14px;
    margin-top: 8px;
    color: red;
}

.autocomplete-suggestions {
    position: absolute;
    top: 4px;
    right: -5px;
    margin: 6px 0 0 6px;
    _background: none;
    _margin: 1px 0 0 0;
}

.autocomplete-suggestions {
    max-height: 390px !important;
    border: 1px solid #1e8e04;
    background: #fff;
    cursor: default;
    overflow: auto;
    margin: 0 6px 6px -1px;
    width: 100vw !important;
    max-width: 400px;
    top: 40px;
    left: 138px;
}

.autocomplete-suggestions div {
    font:
        400 10pt "Roboto Condensed",
        Arial,
        Helvetica,
        sans-serif;
    cursor: pointer;
    width: 100%;
    display: inline-block;
    clear: both;
    padding: 0;
    margin: 0;
    margin-bottom: -5px;
}

.title-suggest {
    font:
        normal 15px Arial,
        Helvetica,
        sans-serif;
    margin-bottom: 0;
    padding: 10px;
    background: #f3f3f3;
    color: #000;
}
.autocomplete-suggestions .autocomplete-group {
    padding: 8px 3%;
    width: 100%;
    background: #f1f1f1;
}

.autocomplete-suggestions div a,
.autocomplete-suggestions div a:link {
    display: inline-block;
    margin: 0;
    padding: 6px 3%;
    width: 100%;
    font:
        normal 13px Arial,
        Helvetica,
        sans-serif;
    color: #333;
    background: #fff;
    clear: both;
    border-bottom: 1px solid #eee;
}
.autocomplete-suggestions div a:visited {
    margin: 0;
    padding: 6px 3%;
    width: 100%;
    font:
        normal 13px Arial,
        Helvetica,
        sans-serif;
    color: #333;
    background: #fff;
    clear: both;
    border-bottom: 1px solid #eee;
}

.autocomplete-suggestions div a:hover {
    background: #d9eef8;
}

.autocomplete-suggestions div a img {
    width: 50px;
    float: left;
}

.autocomplete-suggestions div a label {
    float: right;
    width: 186px;
    font-weight: 400;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.autocomplete-suggestions div a span {
    display: block;
    clear: both;
    cursor: pointer;
    margin: 0;
    padding: 0;
    font-weight: bold;
}

.autocomplete-suggestions div a .money {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0px;
}
.autocomplete-suggestions div a .money .price {
    color: #fd0000;
    font-size: 14px;
}
.autocomplete-suggestions div a .money .price_old {
    color: #797979;
    font-weight: normal;
    text-decoration: line-through;
}

.autocomplete-suggestions div.last {
    border: none;
}

.autocomplete-suggestions strong {
    font-weight: 700;
    color: #0083bf;
}

@media only screen and (max-width: 768px) {
    .autocomplete-suggestions {
        top: 136px;
        left: 10px;
    }
}

.clear-keyword {
    position: absolute;
    right: 40px;
    top: 47%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #888;
    cursor: pointer;
    z-index: 10;
    display: none;
    background: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    transition: background 0.2s;
}
.clear-keyword:hover {
    background: #eee;
    color: #333;
}
/* Đảm bảo vùng input có position:relative để nút x căn đúng */
.searchbox-simple {
    position: relative;
}
