/* Listele de locații (Backlot): prima pagină, Locations Library / rezultatele căutării, paginile de categorie, Featured Properties și wishlist.
   Conține: titlul listei cu numărul și linia roșie, Advanced Filter (chip), comutatorul Grid / Compact, „x of y” + Load More, lista de categorii pe coloane,
   banda gri a primei pagini și starea „fără rezultate”. Sursa: redesign/css/base.css, pages.css, dir-d.css și backlot-live.css (valorile finale, colțuri drepte).
   Cardul: card.css. Folosește doar tokenii din tokens.css. Marginile vechi pentru antetul fix din css/style.css nu mai ating aceste pagini (nu au #search_wrap). */

/* titlurile mari ale paginii (clasa .display din prototip) */
[data-d="d"] .display { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); line-height: 1.08;
  overflow-wrap: anywhere; text-wrap: balance; }

/* ---- Antetul listei: titlu, număr, Advanced Filter și Grid / Compact ---- */
[data-d="d"] .list-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; padding: 28px 0 8px; }
[data-d="d"] .list-head h1 { font-size: clamp(26px, 3vw, 38px); font-weight: 500; letter-spacing: -0.035em; }
[data-d="d"] .list-head h2 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.02em; }
[data-d="d"] .list-head p { margin: 6px 0 0; color: var(--mute); }
/* linia roșie de sub titlu (.page_titel_line de pe site: 2px, 400px) */
[data-d="d"] .list-head :is(h1, h2)::after { content: ""; display: block; width: min(400px, 70vw); height: 2px; margin-top: 12px; background: var(--accent); }
[data-d="d"] .list-head-tools { display: flex; align-items: center; gap: 8px; }
[data-d="d"] .home-list + .home-list { margin-top: 36px; }

[data-d="d"] .chip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; margin: 0; padding: 0 15px; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; line-height: 1.5; white-space: nowrap; touch-action: manipulation; cursor: pointer; }
@media (hover: hover) { [data-d="d"] .chip:hover { border-color: var(--ink); } }
[data-d="d"] .count-pill { min-width: 20px; height: 20px; padding: 0 6px; background: var(--ink); color: var(--bg); font-size: 11.5px; font-weight: 500; line-height: 20px; text-align: center; }

[data-d="d"] .seg { display: inline-flex; gap: 2px; padding: 3px; background: var(--pill); }
[data-d="d"] .seg button { display: inline-flex; align-items: center; gap: 7px; height: 34px; min-width: 44px; justify-content: center; padding: 0 14px; border: 0; background: transparent;
  color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 600; touch-action: manipulation; cursor: pointer; }
[data-d="d"] .seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .14); }

/* ---- „x of y” și Load More ---- */
[data-d="d"] .more { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 44px 0 10px; color: var(--mute); font-size: 14px; }
[data-d="d"] .more .bar { width: 220px; height: 3px; background: var(--line); overflow: hidden; }
[data-d="d"] .more .bar i { display: block; height: 100%; background: var(--ink); }
[data-d="d"] .more .btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

[data-d="d"] .empty { padding: 60px 0; text-align: center; }
[data-d="d"] .empty h2 { margin: 12px 0 18px; font-size: 22px; font-weight: 500; }

/* ---- Toate categoriile, una sub alta, fără iconițe, pe 4 coloane (ca .link_list de pe site) ---- */
[data-d="d"] .cat-list { padding: 26px 0 10px; border-bottom: 1px solid var(--line); }
[data-d="d"] .cat-list ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; }
[data-d="d"] .cat-list li { padding: 0 0 13px; }
[data-d="d"] .cat-list a { color: #000; font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px;
  transition: color .4s ease; }
/* buline rotunde, ca pe site (<i class="fa fa-circle">, 8px) */
[data-d="d"] .cat-list a::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 10px 2px 0; border-radius: 50%; background: currentColor; vertical-align: middle; }
[data-d="d"] .cat-list a[aria-current="true"] { color: var(--accent); }
@media (hover: hover) { [data-d="d"] .cat-list a:hover { color: var(--accent); } }
@media (max-width: 767px) { [data-d="d"] .cat-list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* prima pagină: banda gri a site-ului, #link_wrap { padding: 50px 0; background-color: #e7e6e3 }, pe toată lățimea */
[data-d="d"] .home-cats { padding: 50px 0; background: #e7e6e3; }
[data-d="d"] .home-cats .cat-list { padding: 0; border-bottom: 0; }
@media (max-width: 743px) {
  [data-d="d"] .home-cats { padding: 10px 0; }
  [data-d="d"] .cat-list { padding: 16px 0 4px; }
  [data-d="d"] .cat-list li { padding: 0 0 9px; }
  [data-d="d"] .cat-list a { font-size: 10.5px; letter-spacing: .12em; }
  [data-d="d"] .cat-list a::before { margin-right: 7px; }
}
