/* Site search: the overlay opened from the header and the /search page share these styles. */
.ls { --ls-ink: #0b1d3a; --ls-muted: #5b6880; --ls-line: #e4e8ef; --ls-soft: #f5f7fa; --ls-accent: #c94a0f;
  font-family: "Barlow", system-ui, sans-serif; color: var(--ls-ink); }
.ls *, .ls *::before, .ls *::after { box-sizing: border-box; }

/* The field: one quiet line, icon inside, no boxed outline. */
.ls-field { position: relative; display: flex; align-items: center; border-bottom: 2px solid var(--ls-line); transition: border-color .15s; }
.ls-field:focus-within { border-color: var(--ls-ink); }
.ls-field svg { flex: none; color: var(--ls-muted); }
.ls-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ls-ink);
  font: 500 20px/1.2 "Barlow", system-ui, sans-serif; padding: 16px 12px; -webkit-appearance: none; appearance: none; border-radius: 0; }
.ls-field input::placeholder { color: #8a94a8; font-weight: 400; }
.ls-field input::-webkit-search-cancel-button, .ls-field input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.ls-clear, .ls-close { flex: none; border: 0; background: none; color: var(--ls-muted); cursor: pointer; font: 500 14px "Barlow", system-ui, sans-serif; padding: 8px 10px; border-radius: 8px; }
.ls-clear:hover, .ls-close:hover { background: var(--ls-soft); color: var(--ls-ink); }
.ls-clear[hidden] { display: none; }
.ls-clear:focus-visible, .ls-close:focus-visible, .ls-chip:focus-visible, .ls-row:focus-visible, .ls-all:focus-visible { outline: 2px solid #2f6fd0; outline-offset: 2px; }

.ls-body { padding-top: 22px; }
.ls-label { font: 600 12px/1 "Barlow", system-ui, sans-serif; letter-spacing: .09em; text-transform: uppercase; color: var(--ls-muted); margin: 0 0 12px; }
.ls-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.ls-chip { border: 1px solid var(--ls-line); background: #fff; color: var(--ls-ink); border-radius: 999px; padding: 9px 16px; font: 500 15px "Barlow", system-ui, sans-serif; cursor: pointer; transition: border-color .15s, background .15s; }
.ls-chip:hover { border-color: var(--ls-ink); background: var(--ls-soft); }

.ls-cols { display: grid; gap: 28px; }
@media (min-width: 860px) { .ls-cols.has-side { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; } }
.ls-group + .ls-group { margin-top: 26px; }
.ls-rows { display: grid; gap: 2px; margin: 0 -10px; }
.ls-row { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px; text-decoration: none; color: inherit; transition: background .12s; }
.ls-row:hover { background: var(--ls-soft); }
.ls-row img { width: 56px; height: 56px; flex: none; object-fit: cover; border-radius: 10px; background: var(--ls-soft); }
.ls-row .ls-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ls-row strong { font: 600 15px/1.3 "Barlow", system-ui, sans-serif; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ls-row small { font: 400 13px/1.35 "Barlow", system-ui, sans-serif; color: var(--ls-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ls-row .ls-price { flex: none; font: 600 15px "Barlow", system-ui, sans-serif; white-space: nowrap; }
.ls-row mark { background: none; color: inherit; font-weight: 700; box-shadow: inset 0 -2px 0 #f7b48f; }
.ls-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font: 600 15px "Barlow", system-ui, sans-serif; color: var(--ls-accent); text-decoration: none; }
.ls-all:hover { text-decoration: underline; }
.ls-count { color: var(--ls-muted); font: 400 15px "Barlow", system-ui, sans-serif; margin: 0 0 20px; }
.ls-none { max-width: 560px; }
.ls-none h2 { font: 600 20px/1.3 "Barlow", system-ui, sans-serif; margin: 0 0 8px; text-transform: none; letter-spacing: 0; }
.ls-none p { color: var(--ls-muted); margin: 0 0 20px; font-size: 15px; line-height: 1.55; }
.ls-none a { color: var(--ls-accent); font-weight: 600; }

/* Overlay from the header. */
.ls-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(6, 18, 40, .5); opacity: 0; transition: opacity .18s; }
.ls-overlay.is-open { opacity: 1; }
.ls-panel { background: #fff; max-height: 100%; overflow: auto; -webkit-overflow-scrolling: touch; transform: translateY(-12px); transition: transform .2s ease-out; box-shadow: 0 24px 60px rgba(6, 18, 40, .22); }
.ls-overlay.is-open .ls-panel { transform: none; }
.ls-panel .ls { max-width: 1040px; margin: 0 auto; padding: 14px 20px 32px; }
@media (min-width: 860px) { .ls-panel .ls { padding: 28px 32px 44px; } }
@media (max-width: 859px) { .ls-panel { min-height: 100%; } }
body.ls-lock { overflow: hidden; }
/* The chat button would sit on top of the results. */
body.ls-lock #lediasst-launch, body.ls-lock #lediasst-teaser { display: none !important; }
@media (prefers-reduced-motion: reduce) { .ls-overlay, .ls-panel { transition: none; } }

/* The /search page. */
.ls-page { max-width: 1040px; margin: 0 auto; padding: 40px 20px 72px; }
.ls-page h1 { font: 700 15px/1 "Barlow", system-ui, sans-serif; letter-spacing: .09em; text-transform: uppercase; color: #5b6880; margin: 0 0 6px; }
.ls-page .ls-field input { font-size: 26px; padding-left: 14px; }
@media (max-width: 600px) { .ls-page { padding-top: 26px; } .ls-page .ls-field input { font-size: 20px; } }
