#custom-search-wrapper {
  position: absolute;
  width: 350px;
  height: 45px;
  right: 0px;
  top: 80px;
}

#custom-search-wrapper input {
  height: 45px;
}

#product-search {
  width: 100%;
  padding: 10px;
  font-size: 16px;
}

#search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  z-index: 99;
  max-height: 400px;
  overflow-y: auto;
  display: none;
}

.custom-search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
}

.search-title {
  font-size: 14px;
  color: #333;
}

.see-all-button {
  font-size: 13px;
  text-decoration: none;
  color: #0073aa;
}

.custom-search-results {
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-search-results li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.custom-search-results li:hover {
  background: #f9f9f9;
}

.search-product-thumb img {
  width: 50px;
  height: auto;
  object-fit: contain;
}

.search-product-details {
  flex: 1;
}

.search-product-title {
  font-weight: 600;
  margin-bottom: 2px;
}

.search-product-sku,
.search-product-price {
  font-size: 13px;
  color: #555;
}

/* FIBOSEARCH STYLES */

#custom-search-wrapper .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
  padding: 0;
  border-radius: 0;
}

#custom-search-wrapper .dgwt-wcas-search-form {
  background: #fff;
  border: 1px solid #fff;
}

#custom-search-wrapper
  .dgwt-wcas-style-pirx
  .dgwt-wcas-sf-wrapp
  button.dgwt-wcas-search-submit {
  left: unset;
  top: 50%;
  transform: translateY(-50%);
}

#custom-search-wrapper
  .dgwt-wcas-style-pirx
  .dgwt-wcas-sf-wrapp
  button.dgwt-wcas-search-submit:hover {
  background: #fff;
  box-shadow: none;
}

#custom-search-wrapper
  .dgwt-wcas-style-pirx
  .dgwt-wcas-sf-wrapp
  input[type="search"].dgwt-wcas-search-input {
  border-radius: 0;
  border: unset;
  background: #fff;
}

.dgwt-wcas-open-pirx .dgwt-wcas-open .dgwt-wcas-suggestions-wrapp,
.dgwt-wcas-open-pirx
  .dgwt-wcas-open.dgwt-wcas-nores
  .dgwt-wcas-suggestions-wrapp {
  border-radius: 0;
  margin-top: 0;
}
