/* Orca live search: dropdown panel (shop + tours + legacy sidebars) */
.orca-ls-wrap {
    position: relative;
    width: 100%;
}

.orca-ls-wrap--compact .orca-ls-panel {
    max-height: min(55vh, 320px);
    border-radius: 12px;
    font-size: 0.9rem;
}

.orca-ls-wrap--compact .orca-ls-item {
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
}

.orca-ls-wrap--compact .orca-ls-thumb {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.orca-ls-panel {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 8px);
    z-index: 40;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
    padding: 0.65rem 0;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    text-align: start;
}

/* Modal: dropdown must stack above .theme6-search-modal__sections (later sibling paints on top by default). */
#theme6SearchModal .theme6-search-modal__form {
    position: relative;
    z-index: 6;
    overflow: visible;
}

#theme6SearchModal .theme6-search-modal__sections {
    position: relative;
    z-index: 1;
}

#theme6SearchModal .orca-ls-wrap {
    position: relative;
    z-index: 2;
    overflow: visible;
}

#theme6SearchModal .orca-ls-panel {
    z-index: 30;
    max-height: min(42vh, 260px);
    border-radius: 12px;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
}

#theme6SearchModal .orca-ls-head {
    padding: 0.35rem 0.85rem 0.45rem;
}

#theme6SearchModal .orca-ls-empty {
    margin: 0.5rem 0.85rem 0.4rem;
    font-size: 0.875rem;
    color: #64748b;
}

#theme6SearchModal .orca-ls-item {
    padding: 0.45rem 0.85rem;
    font-size: 0.875rem;
}

#theme6SearchModal .theme6-search-modal__panel {
    overflow: visible;
}

#theme6SearchModal .theme6-search-modal__inner {
    overflow: visible;
}

/* RTL: search submit reads as “forward” toward search results */
html[dir='rtl'] #theme6SearchModal .theme6-search-modal__submit svg {
    transform: scaleX(-1);
}

.orca-ls-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.15rem 1rem 0.5rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    margin-bottom: 0.35rem;
}

.orca-ls-title {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
}

.orca-ls-clear {
    border: none;
    background: transparent;
    color: #2a8489;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.35rem;
    cursor: pointer;
    border-radius: 8px;
}

.orca-ls-clear:hover {
    background: rgba(42, 132, 137, 0.08);
}

.orca-ls-empty {
    margin: 0.75rem 1rem 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.45;
}

.orca-ls-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.orca-ls-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.55rem 1rem;
    border: none;
    background: transparent;
    text-align: inherit;
    text-decoration: none;
    color: #0f172a;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.orca-ls-item:hover,
.orca-ls-item:focus-visible,
.orca-ls-item.is-active {
    background: rgba(42, 132, 137, 0.08);
    outline: none;
}

.orca-ls-item--product {
    align-items: flex-start;
}

.orca-ls-clock {
    flex-shrink: 0;
    opacity: 0.55;
    font-size: 1rem;
    line-height: 1;
}

.orca-ls-thumb {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
}

.orca-ls-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.orca-ls-item-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.orca-ls-item-text {
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.orca-ls-sub {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}
