/* ==========================================================================
   Search results (תוצאות חיפוש). מובייל קודם: גריד 2 עמודות, מ-1024px: 4.
   ========================================================================== */
.sr-crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--ink-2); }
.sr-crumbs a:hover { text-decoration: underline; }
.sr-crumbs span:last-child { color: var(--ink); }

/* ---------- כותרת + שדה ---------- */
.srh__art { inset-inline-end: -14%; top: -10%; width: 56%; opacity: .9; }
.srh__in { padding-block: 20px 28px; display: flex; flex-direction: column; gap: 18px; }
.srh__title { display: flex; flex-direction: column; gap: 8px; }
.srh h1 { font-size: clamp(44px, 14vw, 88px); line-height: .96; letter-spacing: -.045em; overflow-wrap: anywhere; }
.srh h1 bdi { max-width: 100%; }
.srh__form { display: flex; max-width: 720px; height: 56px; }
.srh__field { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; padding-inline: 14px 4px; border: 2px solid var(--ink); border-inline-end: 0; background: var(--surface); }
.srh__field svg { flex-shrink: 0; }
.srh__field input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 17px; -webkit-appearance: none; appearance: none; }
.srh__field input::-webkit-search-cancel-button { display: none; }
.srh__field:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.srh__clear { width: 36px; height: 36px; flex-shrink: 0; background: var(--stage); display: flex; align-items: center; justify-content: center; }
.srh__go { width: 96px; min-height: 0; font-size: 16px; flex-shrink: 0; }
.srh__also { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.srh__also .chip { min-height: 36px; font-weight: 700; transition: background-color .15s ease, color .15s ease; }
.srh__also .chip:hover { background: var(--ink); color: #fff; }

/* ---------- לשוניות ---------- */
.sr-main { padding-bottom: 64px; }
.sr-tabs { display: flex; border-bottom: var(--bw) solid var(--ink); overflow-x: auto; scrollbar-width: none; }
.sr-tabs::-webkit-scrollbar { display: none; }
.sr-tabs button { flex-shrink: 0; height: 56px; padding-inline: 18px; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.sr-tabs button[aria-selected="true"] { font-weight: 800; box-shadow: inset 0 -4px 0 var(--accent); }
.sr-tabs__n { font-size: 12px; font-weight: 700; opacity: .65; }

/* ---------- סרגל סינון ---------- */
.sr-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; padding-block: 18px; }
.sr-brand { max-width: 100%; overflow-x: auto; }
.sr-brand > button { min-height: 44px; padding-inline: 16px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.sr-stock { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; }
.sr-sort { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; margin-inline-start: auto; }
.sr-sort select { height: 44px; padding-inline: 12px; border: var(--bw) solid var(--ink); background: var(--surface); font-size: 15px; }
.chk { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; flex-shrink: 0; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); display: grid; place-content: center; cursor: pointer; }
.chk:checked { background: var(--accent); }
.chk:checked::after { content: "✓"; font-size: 14px; font-weight: 800; line-height: 1; }
.sr-note { padding-block: 8px 24px; font-size: 14px; }

/* ---------- גריד כרטיסים ---------- */
.sr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: var(--bw) solid var(--ink); border-inline-start: var(--bw) solid var(--ink); }
.sr-card { display: flex; flex-direction: column; background: var(--surface); border-inline-end: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); }
.sr-card__stage { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--stage); }
.sr-card__stage img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; transition: transform .6s var(--ease); }
.sr-card:hover .sr-card__stage img { transform: scale(1.05); }
.sr-card.is-out .sr-card__stage img { opacity: .45; filter: grayscale(1); }
.sr-card__tag { position: absolute; top: 8px; inset-inline-start: 8px; font-size: 9px; padding: 2px 6px; background-clip: padding-box; }
.sr-card__tag.tag--basic { background: var(--surface); }
.sr-card__low { position: absolute; bottom: 8px; inset-inline-end: 8px; font-size: 11px; font-weight: 700; color: var(--warn); background: var(--surface); padding: 1px 8px; }
.sr-card__low--out { color: var(--ink-2); }
.sr-card__body { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; padding: 12px; border-top: var(--bw) solid var(--ink); }
.sr-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sr-card__brand { font-size: 12px; font-weight: 700; color: var(--ink-2); letter-spacing: .03em; }
.sr-card__price { font-size: 15px; white-space: nowrap; }
.sr-card__name { font-size: 16px; line-height: 21px; font-weight: 700; letter-spacing: -.01em; text-align: start; }
.sr-card__name:hover { text-decoration: underline; }
.sr-card__dots { display: flex; gap: 4px; flex-wrap: wrap; }
.sr-card__dots .swatch { width: 14px; height: 14px; }
.sr-card__btn { margin-top: auto; min-height: 44px; padding-inline: 8px; font-size: 14px; font-weight: 700; }

/* ---------- אין תוצאות ---------- */
.sr-none { margin-top: 28px; display: grid; border: var(--bw) solid var(--ink); background: var(--surface); }
.sr-none[hidden] { display: none; }
.sr-none__copy { display: flex; flex-direction: column; gap: 14px; justify-content: center; padding: 28px 20px; }
.sr-none h2 { font-size: clamp(32px, 8vw, 48px); line-height: 1.08; letter-spacing: -.04em; overflow-wrap: anywhere; }
.sr-none p { font-size: 17px; max-width: 480px; }
.sr-none__cta { display: flex; flex-direction: column; margin-top: 6px; }
.sr-none__art { min-height: 180px; border-top: var(--bw) solid var(--ink); }
.sr-none__art img { left: 0; top: 10%; width: 140%; }

/* ---------- מדריכים ושאלות ---------- */
.sr-rows { margin-top: 20px; border-top: var(--bw) solid var(--ink); }
.sr-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); transition: background-color .12s ease; }
.sr-row:hover { background: #F4FBD8; }
.sr-row__k { grid-column: 1 / -1; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--ink-2); }
.sr-row__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sr-row__t strong { font-size: 19px; line-height: 26px; font-weight: 800; letter-spacing: -.01em; }
.sr-row__t span { font-size: 15px; }
.sr-empty { padding: 28px 4px 0; }

/* ---------- באנר שאלון ---------- */
.sr-quiz { margin-top: 40px; display: grid; gap: 18px; align-items: center; border: var(--bw) solid var(--ink); background: var(--accent); padding: 22px 20px; }
.sr-quiz > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.sr-quiz strong { font-size: 24px; line-height: 30px; font-weight: 800; letter-spacing: -.02em; }
.sr-quiz .btn { min-height: 54px; padding-inline: 24px; justify-self: start; }
.sr-quiz:hover .btn { background: var(--surface); color: var(--ink); }

@media (min-width: 768px) {
  .srh__in { padding-block: 28px 36px; gap: 22px; }
  .srh__art { inset-inline-end: 2%; top: -8%; width: 30%; }
  .srh__form { height: 60px; }
  .srh__field input { font-size: 18px; }
  .srh__go { width: 120px; }
  .sr-tabs button { height: 60px; padding-inline: 26px; font-size: 16px; gap: 10px; }
  .sr-bar { padding-block: 22px; }
  .sr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sr-card__body { padding: 16px 18px 18px; gap: 10px; }
  .sr-card__tag { top: 12px; inset-inline-start: 12px; font-size: 11px; padding: 4px 9px; letter-spacing: .14em; }
  .sr-card__low { bottom: 12px; inset-inline-end: 12px; font-size: 12px; padding: 2px 9px; }
  .sr-card__name { font-size: 20px; line-height: 26px; }
  .sr-card__price { font-size: 18px; }
  .sr-card__brand { font-size: 13px; }
  .sr-card__dots .swatch { width: 18px; height: 18px; }
  .sr-card__btn { min-height: 46px; }
  .sr-none { grid-template-columns: 1fr 1fr; min-height: 380px; }
  .sr-none__copy { padding: 48px; }
  .sr-none__cta { flex-direction: row; }
  .sr-none__art { border-top: 0; border-inline-start: var(--bw) solid var(--ink); }
  .sr-row { grid-template-columns: 160px 1fr auto; gap: 24px; padding: 22px 8px; }
  .sr-row__k { grid-column: auto; }
  .sr-row__t strong { font-size: 24px; line-height: 30px; letter-spacing: -.02em; }
  .sr-quiz { grid-template-columns: 1fr auto; gap: 24px; padding: 28px 32px; margin-top: 56px; }
  .sr-quiz strong { font-size: 30px; line-height: 36px; }
}
@media (min-width: 1024px) {
  .srh h1 { font-size: 88px; }
  .sr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sr-card { min-height: 470px; }
}
