/* ==========================================================================
   Căutarea rapidă: butonul (lupa) din antet și fereastra peste pagină (Ctrl/⌘ + K, „/”).
   ========================================================================== */
.elim-sbtn { position: absolute; z-index: 60; top: 12px; left: max(var(--elim-gutter, 32px), (100vw - var(--elim-grid, 1280px)) / 2); display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px 0 12px; border: 1px solid var(--elim-line, #E2D6D3); border-radius: 99px; background: #fff; font-family: "macha", sans-serif; font-size: 15px; color: var(--elim-t-muted, #82717D); cursor: pointer; transition: border-color .2s, color .2s, box-shadow .2s; }
.elim-sbtn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.elim-sbtn__k { padding: 2px 6px; border-radius: 6px; background: var(--elim-fog, #F7F3F2); font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 11px; color: var(--elim-t-muted, #82717D); }
.elim-sbtn:hover, .elim-sbtn:focus-visible { border-color: var(--elim-gold, #DAA769); color: var(--elim-plum, #483041); outline: none; box-shadow: 0 6px 18px -10px rgba(72, 48, 65, .35); }
body.admin-bar .elim-sbtn { top: 44px; }
body.elim-dark .elim-sbtn { background: rgba(255, 255, 255, .06); border-color: rgba(226, 214, 211, .25); color: rgba(226, 214, 211, .7); }
@media (max-width: 1024px) {
	.elim-sbtn { top: 22px; left: auto; right: 72px; width: 42px; height: 42px; padding: 0; justify-content: center; border-color: transparent; background: transparent; color: var(--elim-plum, #483041); }
	.elim-sbtn svg { width: 22px; height: 22px; }
	.elim-sbtn__t, .elim-sbtn__k { display: none; }
	body.admin-bar .elim-sbtn { top: 68px; }
}

/* fereastra */
html.elim-s-open { overflow: hidden; }
.elim-s { position: fixed; inset: 0; z-index: 100001; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 20px 20px; background: rgba(27, 20, 26, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; font-family: "macha", sans-serif; }
.elim-s.is-in { opacity: 1; }
.elim-s[hidden] { display: none; }
.elim-s__box { display: flex; flex-direction: column; width: min(680px, 100%); max-height: 76vh; border-radius: 28px; background: #fff; box-shadow: 0 40px 80px -30px rgba(27, 20, 26, .6); overflow: hidden; transform: translateY(-8px) scale(.98); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.elim-s.is-in .elim-s__box { transform: none; }
.elim-s__bar { display: flex; align-items: center; gap: 12px; padding: 0 16px 0 22px; border-bottom: 1px solid var(--elim-line, #E2D6D3); }
.elim-s__bar svg { flex: 0 0 auto; width: 22px; height: 22px; fill: none; stroke: var(--elim-gold, #DAA769); stroke-width: 1.8; stroke-linecap: round; }
.elim-s .elim-s__in { flex: 1; min-width: 0; height: 64px; margin: 0; padding: 0; border: 0 !important; border-radius: 0; background: none !important; box-shadow: none !important; font: inherit; font-size: 20px; color: var(--elim-ink, #1B141A); outline: none !important; -webkit-appearance: none; appearance: none; }
.elim-s__in::-webkit-search-cancel-button, .elim-s__in::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.elim-s__in::placeholder { color: #B8AAB2; }
.elim-s__esc { padding: 4px 8px; border: 1px solid var(--elim-line, #E2D6D3); border-radius: 8px; background: none; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 11px; color: var(--elim-t-muted, #82717D); cursor: pointer; }
.elim-s__list { flex: 1; overflow-y: auto; padding: 8px 10px 14px; overscroll-behavior: contain; }
.elim-s__g { margin: 14px 12px 6px; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 11px; text-transform: uppercase; color: var(--elim-gold, #DAA769); }
.elim-s__r { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 16px; color: inherit; text-decoration: none !important; }
.elim-s__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--elim-fog, #F7F3F2); overflow: hidden; }
.elim-s__ic img { width: 100%; height: 100%; object-fit: cover; }
.elim-s__ic svg { width: 20px; height: 20px; fill: none; stroke: var(--elim-plum, #483041); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.elim-s__t { display: block; font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--elim-ink, #1B141A); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elim-s__d { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--elim-t-muted, #82717D); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.elim-s__t mark, .elim-s__d mark { margin: 0; padding: 0; background: none; color: var(--elim-orange, #FF8C1A); }
.elim-s__go { width: 8px; height: 13px; background: var(--elim-gold, #DAA769); -webkit-mask: var(--haicon-right) center / contain no-repeat; mask: var(--haicon-right) center / contain no-repeat; opacity: 0; transition: opacity .15s; }
.elim-s__r.is-on { background: var(--elim-fog, #F7F3F2); }
.elim-s__r.is-on .elim-s__ic { background: #fff; }
.elim-s__r.is-on .elim-s__go { opacity: 1; }
.elim-s__none { margin: 28px 20px; text-align: center; font-size: 17px; color: var(--elim-t-muted, #82717D); }
.elim-s__none b { color: var(--elim-plum, #483041); }
.elim-s__foot { display: flex; gap: 18px; padding: 10px 22px; border-top: 1px solid var(--elim-line, #E2D6D3); font-size: 13px; color: #A99BA4; }
.elim-s__foot kbd { margin-right: 4px; padding: 1px 6px; border-radius: 6px; background: var(--elim-fog, #F7F3F2); font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 11px; color: var(--elim-t-muted, #82717D); }
.elim-s__load { height: 2px; margin-top: -1px; background: linear-gradient(90deg, transparent, var(--elim-gold, #DAA769), transparent) 0 0 / 40% 100% no-repeat; animation: elimSLoad 1s linear infinite; visibility: hidden; }
.elim-s.is-busy .elim-s__load { visibility: visible; }
@keyframes elimSLoad { from { background-position: -40% 0; } to { background-position: 140% 0; } }
@media (max-width: 767px) {
	.elim-s { padding: 0; align-items: stretch; }
	.elim-s__box { width: 100%; max-height: none; border-radius: 0; }
	.elim-s__in { font-size: 18px; height: 60px; }
	.elim-s__foot { display: none; }
	.elim-s__esc { padding: 6px 10px; font-family: "macha", sans-serif; font-weight: 400; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .elim-s, .elim-s__box { transition: none; } }
