.aesearch-results {
    display:block;
    position:absolute;
    width:100%;
    z-index: 1000;
    background-color: #fff;
    line-height: var(--line-height);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    outline: none;
    box-shadow: none;
    appearance: none;
    transition: all 0.2s;
}


.result {

    padding: calc(0.45em - 1px) 1rem;

}

.aesearch-results .result:last-child {
    border-bottom: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px; /* правый нижний и левый нижний */
    overflow: hidden; /* важно, если внутри есть фоновые элементы */
}

.aesearch-results.hidden {
    position:relative;
    display:none;
}

/* —————— AMAZON STYLE —————— */

.amazon-stars {
    color: #dfb801;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: inline-block;
    margin: 2px 0;
}

/* thumbnail wrapper */
.amazon-thumb-wrap {
    width: 66px;
    height: 66px;
    flex-shrink: 0;
    border: 1px solid var(--accent-color);
    background: var(--accent-color);;

    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* thumbnail */
.amazon-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Title (Amazon style blue) */
.amazon-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-color);
    display: block;
    line-height: 1.25;
}

/* Meta (attributes) */
.amazon-meta {
    font-size: 0.8rem;
    color: #444;
}
.amazon-meta .label {
    font-weight: 600;
}

/* Hover эффект Amazon внутри .result */
.aesearch-results .result.amazon-item {
    transition: 0.15s ease;
    cursor: pointer;
}
.aesearch-results .result.amazon-item:hover {
    background: #f7fafa;
}