.oa-smart-search {
    position: fixed;
    z-index: 1200;
    box-sizing: border-box;
    max-height: 360px;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 4px;
    border: 1px solid var(--oa-line, #e8ddf5);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 36px rgb(43 24 70 / 16%);
    color: var(--oa-text, #171717);
    font: inherit;
    text-align: start;
}

.oa-smart-search[hidden],
.oa-smart-search [hidden] {
    display: none !important;
}

.oa-smart-search--above {
    transform: translateY(-100%);
}

.oa-smart-search .oa-smart-search__option {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: inherit;
    text-decoration: none;
}

.oa-smart-search .oa-smart-search__option[aria-selected='true'],
.oa-smart-search .oa-smart-search__option:focus-visible {
    border-color: var(--oa-purple, #7b2fbe);
    background: var(--oa-lavender, #f8f3ff);
}

@media (hover: hover) {
    .oa-smart-search .oa-smart-search__option:hover {
        background: var(--oa-lavender, #f8f3ff);
    }
}

.oa-smart-search__thumbnail {
    display: grid;
    width: 44px;
    height: 48px;
    overflow: hidden;
    place-items: center;
    border-radius: 6px;
    background: var(--oa-lavender, #f8f3ff);
}

.oa-smart-search .oa-smart-search__thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
}

.oa-smart-search__summary {
    display: grid;
    gap: 3px;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.oa-smart-search__name {
    font-weight: 650;
}

.oa-smart-search__price {
    color: #65487a;
    font-size: 13px;
    font-weight: 600;
}

.oa-smart-search__notice {
    padding: 12px;
    color: #544a5d;
    font-size: 14px;
    line-height: 1.4;
}

.oa-smart-search__announcement {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
