/* Olimp's fixed search/top rail, adapted to CLB's blue/yellow theme and scroll panel. */
.olimp-search { --search-accent: #087cad; --search-focus: #0797cc; --search-focus-halo: #0797cc28; --search-warm: #f3fbff; --search-sand: #d5effa; --search-example-hover: #087cad; }
.olimp-search .olimp-search__own-price { color: #285b81; }
.olimp-search-return, #clb-top-link {
    position: fixed; top: auto; left: auto; right: 18px; z-index: 1001;
    display: block; box-sizing: border-box; width: 76px; height: 76px;
    min-height: 76px; margin: 0; padding: 12px 5px;
    border: 1px dashed #0797cc; border-radius: 13px; background: #f3fbff;
    color: #1c2831; box-shadow: 0 2px 12px #0002;
    font: 14px/20px Arial,sans-serif; text-align: center; text-transform: none;
    text-decoration: none; cursor: pointer;
}
.olimp-search-return { bottom: calc(106px + var(--clb-notice-offset, 0px)); }
#clb-top-link { bottom: calc(20px + var(--clb-notice-offset, 0px)); }
.olimp-search-return::before, #clb-top-link::before {
    content: ''; display: block; width: 28px; height: 28px; margin: 0 auto 4px;
    background: url('/themes/ninehabbits/img/icons/search.svg') center / contain no-repeat;
}
#clb-top-link::before { background-image: url('/themes/ninehabbits/img/icons/arrow-up.svg'); }
#clb-top-link[hidden] { display: none !important; }
@media (hover: hover) and (pointer: fine) {
    .olimp-search-return:hover, #clb-top-link:hover { background: #fff0aa; }
}
.olimp-search-return:focus-visible, #clb-top-link:focus-visible { outline: 2px solid #087cad; outline-offset: 3px; }
.olimp-search-return:focus:not(:focus-visible), #clb-top-link:focus:not(:focus-visible) { outline: none; }
html.olimp-modal-locked #clb-top-link { visibility: hidden; }
/* Desktop addition only: leave CLB's existing mobile controls unchanged. */
@media (max-width: 899px) { .olimp-search-return, #clb-top-link { display: none !important; } }
