.smartsearch-title__input-conteiner {
    position: relative;
}

.smartsearch-title__wrap {
    position: relative;
}

.smartsearch-title__wrap .smartsearch-title__input {
    height: 52px;
    padding: 8px 50px;
    padding-right: 100px;
    font-size: 14px;
    color: #2C2C2C;
    border-radius: 32px;
    width: 100%;
    background-color: var(--color-gray-200);
    border: 1px solid var(--color-gray-200);
    outline: none;
}

.smartsearch-title__wrap .smartsearch-title__input:hover {
    border-color: #F4943E;
}

.smartsearch-title__wrap .smartsearch-title__input:active,
.smartsearch-title__wrap .smartsearch-title__input:focus-visible {
    border-color: #F4943E;
    background-color: #FFF;
}

.smartsearch-title__wrap .smartsearch-title__input::placeholder {
    font-size: 14px;
    color: var(--color-gray-500);
}

.smartsearch-title__wrap .smartsearch-title__input-conteiner:before {
    content: url("./images/search.svg");
    position: absolute;
    top: 14px;
    left: 16px;
}

.smartsearch-title__result {
    display: flex;
    margin-top: 4px;
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-height: 496px;
    overflow: auto;
    align-self: stretch;
    background: #FFF;
    box-shadow: 0px 4px 24px 0px rgba(69, 44, 113, 0.1);
    color: #2C2C2C;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    scrollbar-color: #F4943E #eee;
    scrollbar-width: thin;
}

.title-search-result {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0px 4px 24px 0px rgba(69, 44, 113, 0.1);
    z-index: 205;
}

.smartsearch-title__result .m-auto {
    margin: auto;
}

.smartsearch-title__result-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
}

.smartsearch-title__result-item .item-img {
    width: 64px;
}

.smartsearch-title__result-item .item-img > a {
    display: inline-block;
}

.smartsearch-title__result-item .item-img img {
    border-radius: 8px;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.smartsearch-title__result-item .item-name {
    color: #2C2C2C;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    text-decoration: none;
    cursor: pointer;
}

.smartsearch-title__result-item .item-name b {
    color: #F4943E;
}

.smartsearch-title__result-item .item-name:hover {
    color: #F4943E;
}

.smartsearch-title__result-item .item-price {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 700;
    line-height: 140%;
}

.smartsearch-title__result-item .item-price .old {
    color: var(--color-gray-500);
    font-weight: 500;
    text-decoration: line-through;
    margin-left: 4px;
}

.smartsearch-title__result-item .section {
    margin-top: 4px;
    font-size: 16px;
    line-height: 140%;
    color: var(--color-gray-500);
}

.smartsearch-title__result-item .all-result {
    color: #F4943E;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    text-decoration: none;
}

.icon-wrapper {
    position: absolute;
    display: flex;
    gap: 4px;
    align-items: center;
    top: 14px;
    right: 16px;
}

.search-title__icon {
    display: none;
    cursor: pointer;
    color: var(--color-gray-500);
}

.search-title__icon.speech {
    color: #F4943E;
}

.search-title__icon.show {
    display: block;
}

.search-title__icon:not(:last-child) {
    fill: #0a962f;
}

.smartsearch-title__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.smartsearch-title__result .result-group {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
}

.smartsearch-title__result .result-group .result-group__title {
    max-width: 120px;
    min-width: 0;
    color: var(--color-gray-500);
}

@media (hover: hover) {
    .search-title__icon:hover {
        color: #F4943E;
    }
}

.smartsearch-title__req_history {
    display: none;
    position: absolute;
    width: 100%;
    top: 56px;
    left: 0;
    z-index: 205;
    padding: 0 !important;
    border-radius: 24px;
}

.smartsearch-title__req_history_content {
    padding: 16px 24px;
    max-height: 40vh;
    overflow-y: auto;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    scrollbar-color: #F4943E #eee;
    scrollbar-width: thin;
}

.smartsearch-title__req_history .smartsearch-title__result-item {
    display: flex;
    padding: 6px 0;
}

.smartsearch-title__wrap .icon {
    color: var(--color-gray-500);
}

.smartsearch-title__wrap .icon:hover:not(.icon-history) {
    color: #F4943E;
}

.smartsearch-title__wrap .delete-item {
    margin-left: auto;
    cursor: pointer;
}

.smartsearch-title__req_history:empty,
.smartsearch-title__req_history .item {
    list-style: none;
    display: none;
}

.smartsearch-title__req_history_title {
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--color-gray-500);
}

.smartsearch-title__current_searchimg_wrap {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    height: 52px;
    padding: 10px 16px;
    border-radius: 32px;
    width: 100%;
    border: 1px solid #F4943E;
    background: #FFFFFF;
}

.smartsearch-title__current_searchimg_wrap.show {
    display: block;
}

.smartsearch-title__current_searchimg {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    width: max-content;
    background: var(--color-gray-200);
    border-radius: 8px;
    max-width: 50%;
}

.smartsearch-title__current_searchimg img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 6px;
}

.smartsearch-title__current_searchimg .search-title__icon {
    display: block;
    position: relative;
    top: 0;
    left: 0;
}

.smartsearch-title__current_searchimg .filename {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-title__searchimg_form_wrap {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: 0px 4px 24px 0px #452C711C;
    background: #FFFFFF;
    width: 100%;
    padding: 16px 24px;
    border-radius: 24px;
    z-index: 205;
}

.search-title__searchimg_form_container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-title__searchimg_form_container .error {
    display: none;
    padding: 8px 16px;
    border-radius: 4px;
    background: #F6676729;
    color: #F66767;
}

.search-title__searchimg_form_container .image_href {
    display: flex;
    gap: 16px;
}

.search-title__searchimg_form_container .input-text {
    width: 100%;
    height: 52px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--color-gray-500);
}

.search-title__searchimg_form_container .input-text::placeholder {
    color: var(--color-gray-500)
}

.search-title__searchimg_form_container .btn {
    width: fit-content;
    height: 52px;
    padding: 0 32px;
    border: none;
    border-radius: 32px;
    background-color: #F4943E;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.search-title__searchimg_form_container .title {
    display: flex;
    justify-content: space-between;
}