.kp-ls-form {
    position: relative;
}

.kp-ls {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    margin-top: 4px;
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    text-align: left;
}

.kp-ls[hidden] {
    display: none;
}

.kp-ls__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    text-decoration: none;
    line-height: 1.3;
}

.kp-ls__item:hover,
.kp-ls__item.is-active {
    background: #fef5e9;
}

.kp-ls__item img {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin: 0;
}

.kp-ls__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.kp-ls__title {
    font-size: 13px;
    overflow-wrap: anywhere;
}

.kp-ls__price {
    font-size: 13px;
    font-weight: 600;
    color: #f89d20;
}

.kp-ls__price del {
    color: #999;
    font-weight: 400;
    margin-right: 4px;
}

.kp-ls__price ins {
    text-decoration: none;
}

.kp-ls__all,
.kp-ls__empty {
    display: block;
    padding: 9px 10px;
    font-size: 13px;
    text-align: center;
}

.kp-ls__all {
    color: #f89d20;
    font-weight: 600;
    text-decoration: none;
}

.kp-ls__all:hover {
    background: #fef5e9;
}

.kp-ls__empty {
    color: #777;
}

.kp-ls-form.is-loading .wp-block-search__input {
    background-image: linear-gradient(90deg, transparent, rgba(248, 157, 32, 0.15), transparent);
    background-size: 200% 100%;
    animation: kp-ls-loading 1s linear infinite;
}

@keyframes kp-ls-loading {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}
