.autoComplete_wrapper {
    display: inline-block;
    position: relative;
}

    .autoComplete_wrapper > input {
        height: 3rem;
        width: 370px;
        margin: 0;
        padding: 0 2rem 0 3.2rem;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        font-size: 1rem;
        text-overflow: ellipsis;
        color: rgba(0, 0, 0, 0.25);
        outline: none;
        border-radius: 12px;
        border: 0.05rem solid rgba(0, 0, 0, 0.5);
        background-image: url(./images/search-line.svg);
        background-size: 1.4rem;
        background-position: left 1.05rem top 0.8rem;
        background-repeat: no-repeat;
        background-origin: border-box;
        background-color: #fff;
        transition: all 0.4s ease;
        -webkit-transition: all -webkit-transform 0.4s ease;
    }

        .autoComplete_wrapper > input::placeholder {
            color: rgba(0, 0, 0, 0.5);
            transition: all 0.3s ease;
            -webkit-transition: all -webkit-transform 0.3s ease;
        }

        .autoComplete_wrapper > input:hover::placeholder {
            color: rgba(0, 0, 0, 0.6);
            transition: all 0.3s ease;
            -webkit-transition: all -webkit-transform 0.3s ease;
        }

        .autoComplete_wrapper > input:focus::placeholder {
            padding: 0.1rem 0.6rem;
            font-size: 0.95rem;
            color: rgba(0, 0, 0, 0.4);
        }

        .autoComplete_wrapper > input:focus::selection {
            background-color: rgba(0, 0, 0, 0.15);
        }

        .autoComplete_wrapper > input::selection {
            background-color: rgba(0, 0, 0, 0.15);
        }

        .autoComplete_wrapper > input:hover {
            color: rgba(0, 0, 0, 0.8);
            transition: all 0.3s ease;
            -webkit-transition: all -webkit-transform 0.3s ease;
        }

        .autoComplete_wrapper > input:focus {
            color: rgba(0, 0, 0, 1);
            border: 0.06rem solid #00aeef;
        }

    .autoComplete_wrapper > ul {
        position: absolute;
        max-height: 226px;
        overflow-y: scroll;
        box-sizing: border-box;
        left: 0;
        right: 0;
        margin: 0.5rem 0 0 0;
        padding: 0;
        z-index: 9999;
        list-style: none;
        border-radius: 0.6rem;
        background-color: #fff;
        border: 1px solid rgba(33, 33, 33, 0.07);
        box-shadow: 0 3px 6px rgba(149, 157, 165, 0.15);
        outline: none;
        transition: opacity 0.15s ease-in-out;
        -moz-transition: opacity 0.15s ease-in-out;
        -webkit-transition: opacity 0.15s ease-in-out;
    }

        .autoComplete_wrapper > ul[hidden],
        .autoComplete_wrapper > ul:empty {
            display: block;
            opacity: 0;
            transform: scale(0);
        }

        .autoComplete_wrapper > ul > li {
            margin: 0.3rem;
            padding: 0.3rem 0.5rem;
            text-align: left;
            font-size: 1rem;
            color: #212121;
            border-radius: 0.35rem;
            background-color: rgba(255, 255, 255, 1);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            transition: all 0.2s ease;
        }

            .autoComplete_wrapper > ul > li mark {
                background-color: transparent;
                color: rgba(0, 0, 0, 1);
                font-weight: bold;
            }

            .autoComplete_wrapper > ul > li:hover {
                cursor: pointer;
                background-color: rgba(0, 0, 0, 0.15);
            }

            .autoComplete_wrapper > ul > li[aria-selected="true"] {
                background-color: rgba(0, 0, 0, 0.15);
            }

@media only screen and (max-width: 600px) {
    .autoComplete_wrapper > input {
        width: 18rem;
    }
}

/* Enhanced product results */
.ac-highlight {
    background: transparent;
    color: inherit;
    font-weight: 700;
}

.ac-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ac-product-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
}

.ac-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ac-product-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ac-product-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.ac-product-location {
    font-size: 12px;
    color: #777;
}

/* Dropdown improvements */
.autoComplete_wrapper > ul {
    max-height: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.autoComplete_wrapper > ul > li {
    padding: 10px 16px;
    white-space: normal;
}

@media (max-width: 600px) {
    .ac-product-thumb {
        width: 40px;
        height: 40px;
    }
}

/* No Results State */
.ac-no-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    text-align: center;
    gap: 8px;
    min-height: 120px;
    box-sizing: border-box;
}

.ac-no-result-icon {
    color: #ccc;
    margin-bottom: 4px;
    flex-shrink: 0;
}

.ac-no-result-icon svg {
    width: 40px;
    height: 40px;
}

.ac-no-result-text {
    font-size: 14px;
    color: #555;
    word-break: break-word;
    max-width: 100%;
}

.ac-no-result-text strong {
    color: #333;
}

.ac-no-result-hint {
    font-size: 12px;
    color: #999;
}

/* Tablet */
@media (max-width: 991px) {
    .ac-no-result {
        padding: 20px 14px;
        min-height: 100px;
        gap: 6px;
    }

    .ac-no-result-icon svg {
        width: 36px;
        height: 36px;
    }

    .ac-no-result-text {
        font-size: 13px;
    }

    .ac-no-result-hint {
        font-size: 11px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .ac-no-result {
        padding: 16px 12px;
        min-height: 90px;
        gap: 4px;
    }

    .ac-no-result-icon svg {
        width: 32px;
        height: 32px;
    }

    .ac-no-result-text {
        font-size: 12px;
    }

    .ac-no-result-hint {
        font-size: 10px;
    }
}
