

.search-modal {
    border-radius: 14px;
    background-color: white;
    padding: 12px;
    display: flex;
    top: 56px;
    width: 600px;
    transform: translateX(-315px);
    z-index: 300;
    min-height: 120px;
}
.search-history {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.search-history-header {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;

}
.search-history-header p {
    font-size: 14px;
    font-weight: 600;
    color: #29231F;
    line-height: 120%;
    cursor: pointer;
}
.search-history-header span {
    font-size: 12px;
    color: #676767; 
    cursor: pointer;
}
.search-history-item {
    display: flex;
    gap: 6px; 
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
}
.search-history-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.search-history-icon {
    padding: 4px;
    background-color: #EAEAEA;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .search-category-icon,
  .search-brand-icon {
    padding: 0px;
  }
  .search-category-icon,
  .search-brand-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }
  .search-history-item p {
    font-size: 12px;
    color: #29231F
  }
  .search-history-item:hover {
    background-color: #F6F6F6;
  }

.search-history-type {
    font-size: 10px;
    color: #676767; 
}
.search-history-text {
    display: flex;
    flex-direction: column;
}
.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
    scrollbar-color: rgb(204, 204, 204) transparent;
}
.search-history-item {
    width: 100%;
}

@media (max-width: 990px) {
    .search-modal {
        flex-direction: column;
        width: 100%;
        max-width: 100vw;
        bottom: 0;
        transform: none;
        left: 0;
        top: 89px;
        border-radius: 0px;
        gap: 16px;
        background: #F6F6F6;
        justify-content: space-between;
        margin-top: 10px;
    }
    .search-history-header span {
        color: #ADADAD;
        font-size: 10px;;
    }
    .search-history-items {
        gap: 6px;
    }
    .search-history-icon {
        width: 26px;
        height: 26px;
    }
}