
.manticore-live-search-container {
    position: relative;
    max-width: 500px; 
    --manticore-btn-bg: #f68a34;
    --manticore-btn-bg-hover: #e07b2f;
    --manticore-control-height: 36px; /* unified height for input and button */
}

.e-search-form {
    display: flex;
    align-items: stretch;
}

.e-search-input-wrapper {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: stretch;
}

.manticore-live-search-container .manticore-search-input.e-search-input {
    width: 100%;
    border-radius: 10px;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #f68a3466;
    border-right: 0;
    border-radius: 6px 0 0 6px;
    padding: 4px 10px;
    height: auto;
    min-height: 32px;
    box-sizing: border-box;
}

.manticore-live-search-container .manticore-search-input.e-search-input::placeholder {
    color: rgba(109, 103, 118, 0.37);
}

.manticore-live-search-container .manticore-search-input.e-search-input:focus {
    outline: none;
}

.manticore-live-search-container .e-search-submit {
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    background-color: var(--manticore-btn-bg);
    border-radius: 0 6px 6px 0;
    padding: 4px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    height: auto;
    min-height: 32px;
    box-sizing: border-box;
    border-top: 1px solid var(--manticore-btn-bg);
    border-right: 1px solid var(--manticore-btn-bg);
    border-bottom: 1px solid var(--manticore-btn-bg);
    border-left: 0;
}

.manticore-live-search-container .e-search-submit:hover {
    background-color: var(--manticore-btn-bg-hover);
}

.e-search-submit svg {
    width: 15px;
    height: 15px;
}

/* Dropdown Styles */
.manticore-live-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 650px;
    overflow-y: auto;
}

/* Results List */
.manticore-live-results-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.manticore-live-results-list li a {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}
.manticore-live-results-list li:last-child a {
    border-bottom: none;
}
.manticore-live-results-list li a:hover {
    background-color: #f7f7f7;
}

/* Product Image in Dropdown */
.manticore-live-results-list img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    object-fit: cover;
}

/* Product Title and Price */
.manticore-live-results-list .manticore-result-content {
    flex-grow: 1;
}

.manticore-live-results-list .manticore-result-title {
    font-weight: 500;
    color: #333;
    font-size: 12px;
    line-height: 1.3;
}

.manticore-live-results-list .manticore-result-price {
    font-size: 0.7em;
    font-weight: bold;
    color: #f68a34;
    margin-left: 15px;
    white-space: nowrap;
    
}

/* "No Results" Message */
.manticore-no-results {
    padding: 15px;
    text-align: center;
    color: #888;
}

/* Normalize input and button heights and appearance */
.manticore-live-search-container .manticore-search-input.e-search-input,
.manticore-live-search-container .e-search-submit {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    line-height: 1.2;
    box-sizing: border-box;
}

.manticore-live-search-container .e-search-submit,
.manticore-live-search-container .manticore-search-input.e-search-input {
    align-self: stretch;
}

/* Mobile: increase tap target height */
@media (max-width: 767px) {
  .manticore-live-search-container .manticore-search-input.e-search-input,
  .manticore-live-search-container .e-search-submit {
    min-height: 38px;
  }
}
