/* Paginile de listare: /toate-semnele si /colectie-* (27 sept 2026, redesenate).
 * Corpul il scrie `scripts/sabloane/corp-lista.js`; cardurile au stilul lor in `card-produs.js`.
 *
 * Aceleasi reguli ca pagina de produs (`produs.css`), ca drumul lista -> produs sa para o
 * singura bucata:
 *
 *   spatiere   4 · 8 · 12 · 16 · 24 · 32 · 48 · 72 px
 *   rotunjire  14 px suprafetele mari (cardurile, banda de jos), 12 px controalele
 *   inaltime   44 px controalele secundare (colectiile, ordinea) - ca butoanele de culoare
 *   text       fara MAJUSCULE; Sora pe titlu, Inter pe rest
 *   rozul      FIX (#ff36b0), doar pe ce se apasa si pe colectia in care esti
 */

#nl-lista.nl-ls {
  --ls-1: 4px; --ls-2: 8px; --ls-3: 12px; --ls-4: 16px; --ls-5: 24px; --ls-6: 32px; --ls-7: 48px; --ls-8: 72px;
  --ls-supr: var(--nl-surface, #0d0c11);
  --ls-linie: var(--nl-line2, rgba(255, 255, 255, .11));
  --ls-linie-slaba: var(--nl-line, rgba(255, 255, 255, .055));
  --ls-text: var(--nl-text, #f4f1f8);
  --ls-sters: var(--nl-muted, #9e97a8);
  --ls-roz: #ff36b0;
  --ls-r-mare: 14px; --ls-r: 12px;
  --ls-h2: 44px;
  --ls-display: Sora, 'Inter', system-ui, sans-serif;
  --ls-corp: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ls-text);
  font-family: var(--ls-corp);
  padding-block: var(--ls-4) var(--ls-8);
}
#nl-lista.nl-ls *, #nl-lista.nl-ls *::before, #nl-lista.nl-ls *::after { box-sizing: border-box; }

#nl-lista .ls-miez { width: 100%; max-width: calc(var(--nl-maxw, 1160px) + 2 * var(--ls-6)); margin-inline: auto; padding-inline: var(--ls-6); }
@media (max-width: 749px) { #nl-lista .ls-miez { padding-inline: var(--ls-4); } }

#nl-lista :focus-visible { outline: 2px solid var(--ls-roz); outline-offset: 2px; }

/* ---------------------------------------------------------------- firul si titlul */
#nl-lista .ls-fir {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--ls-2);
  margin-bottom: var(--ls-5); font-size: 13px; color: var(--ls-sters);
}
#nl-lista .ls-fir a { color: var(--ls-sters); text-decoration: none; }
#nl-lista .ls-fir a:hover { color: var(--ls-text); text-decoration: underline; text-underline-offset: 3px; }
#nl-lista .ls-fir [aria-current] { color: var(--ls-text); }

#nl-lista .ls-cap { margin-bottom: var(--ls-5); max-width: 720px; }
#nl-lista .ls-cap h1 {
  margin: 0; font: 700 clamp(32px, 4.4vw, 48px)/1.08 var(--ls-display); letter-spacing: -0.02em;
  color: var(--ls-text); text-transform: none;
}
#nl-lista .ls-lead { margin: var(--ls-3) 0 0; font-size: 16px; line-height: 1.55; color: var(--ls-sters); }

/* ---------------------------------------------------------------- colectiile, ca butoane
   Aceeasi forma ca variantele de pe pagina de produs: 44 px, 12 px rotunjire, chenar subtire;
   cea in care esti poarta chenarul roz. Pe telefon se deruleaza lateral, nu se rup pe randuri. */
#nl-lista .ls-colectii {
  display: flex; flex-wrap: wrap; gap: var(--ls-2); margin-bottom: var(--ls-6);
}
#nl-lista .ls-chip {
  display: inline-flex; align-items: center; gap: var(--ls-2); flex: 0 0 auto;
  min-height: var(--ls-h2); padding: 0 var(--ls-4);
  border: 1px solid var(--ls-linie); border-radius: var(--ls-r);
  color: var(--ls-text); text-decoration: none; font-size: 14px; white-space: nowrap;
  transition: border-color .15s ease, background .15s ease;
}
#nl-lista .ls-chip:hover { border-color: rgba(255, 255, 255, .28); }
#nl-lista .ls-chip[aria-current] { border-color: var(--ls-roz); background: rgba(255, 255, 255, .05); }
#nl-lista .ls-chip-nr { color: var(--ls-sters); font-size: 13px; font-variant-numeric: tabular-nums; }
@media (max-width: 749px) {
  #nl-lista .ls-colectii {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--ls-4)); padding-inline: var(--ls-4); scroll-padding-inline: var(--ls-4);
    margin-bottom: var(--ls-5);
  }
  #nl-lista .ls-colectii::-webkit-scrollbar { display: none; }
}

/* ---------------------------------------------------------------- bara: cate si ordinea */
#nl-lista .ls-bara {
  display: flex; align-items: center; justify-content: space-between; gap: var(--ls-4);
  padding-bottom: var(--ls-4); margin-bottom: var(--ls-5); border-bottom: 1px solid var(--ls-linie-slaba);
}
#nl-lista .ls-cate { margin: 0; font-size: 14px; color: var(--ls-sters); font-variant-numeric: tabular-nums; }
#nl-lista .ls-ordine { display: inline-flex; align-items: center; gap: var(--ls-3); margin: 0; font-size: 14px; color: var(--ls-sters); }
/* Selectul nativ: pe telefon deschide roata sistemului, cea mai buna alegere dintr-o lista de
   patru. Doar desenul lui e al nostru. 16 px, ca iPhone sa nu mareasca pagina la atingere. */
#nl-lista .ls-ordine select {
  height: var(--ls-h2); min-width: 0; padding: 0 40px 0 var(--ls-4);
  border: 1px solid var(--ls-linie); border-radius: var(--ls-r);
  background: var(--ls-supr) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239e97a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--ls-text); font: 500 16px/1 var(--ls-corp);
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
#nl-lista .ls-ordine select:hover { border-color: rgba(255, 255, 255, .28); }
@media (max-width: 479px) { #nl-lista .ls-ordine > span { display: none; } }

/* ---------------------------------------------------------------- grila */
#nl-lista .ls-grila { margin: 0; padding: 0; }

#nl-lista .ls-gol {
  display: grid; justify-items: start; gap: var(--ls-4);
  padding: var(--ls-6); border: 1px dashed var(--ls-linie); border-radius: var(--ls-r-mare);
}
#nl-lista .ls-gol p { margin: 0; color: var(--ls-sters); }
#nl-lista .ls-buton {
  display: inline-flex; align-items: center; min-height: var(--ls-h2); padding: 0 var(--ls-5);
  border-radius: var(--ls-r); background: var(--ls-roz); color: #15030e;
  font: 600 15px/1 var(--ls-display); text-decoration: none;
}

/* ---------------------------------------------------------------- „nu gasesti?" */
#nl-lista .ls-byo {
  display: flex; align-items: center; justify-content: space-between; gap: var(--ls-4);
  margin-top: var(--ls-8); padding: var(--ls-5);
  border: 1px solid rgba(255, 54, 176, .28); border-radius: var(--ls-r-mare);
  background: linear-gradient(120deg, rgba(255, 54, 176, .08), rgba(255, 54, 176, 0) 60%);
  color: var(--ls-text); text-decoration: none;
  transition: border-color .15s ease;
}
#nl-lista .ls-byo:hover { border-color: rgba(255, 54, 176, .6); }
#nl-lista .ls-byo-txt { display: grid; gap: var(--ls-1); }
#nl-lista .ls-byo-txt b { font: 600 17px/1.35 var(--ls-display); }
#nl-lista .ls-byo-txt span { font-size: 14px; color: var(--ls-sters); }
@media (max-width: 749px) { #nl-lista .ls-byo { margin-top: var(--ls-7); padding: var(--ls-4); } }

@media (prefers-reduced-motion: reduce) {
  #nl-lista .ls-chip { transition: none; }
}

/* ---------------------------------------------------------------- aspectul comun (2 oct 2026)
   Banda de sus e `.nl-erou`, grila sta pe `.nl-alb` (site.css): aici doar ce e al listei. Marginile le dau ele,
   nu `.ls-miez`; pe alb, culorile listei trec pe text inchis. */
#nl-lista.nl-ls { padding-block: 0; }
#nl-lista .ls-erou .ls-fir { margin-bottom: 0; }
#nl-lista .ls-erou .ls-cap { margin-bottom: 22px; }
#nl-lista .ls-erou .ls-cap h1 { margin: 10px 0 0; color: #ffffff; }
#nl-lista .ls-erou .ls-colectii { margin-bottom: 0; }
#nl-lista .nl-alb .ls-miez { max-width: none; padding-inline: 0; }
#nl-lista .nl-alb {
  --ls-supr: #ffffff; --ls-linie: rgba(23, 21, 26, .14); --ls-linie-slaba: rgba(23, 21, 26, .08);
  --ls-text: #17151a; --ls-sters: #504a57;
  color: var(--ls-text);
}
#nl-lista .nl-alb .ls-ordine select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e6877' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
#nl-lista .nl-alb .ls-ordine select:hover { border-color: rgba(23, 21, 26, .3); }
#nl-lista .nl-alb .ls-byo { background: linear-gradient(120deg, rgba(255, 54, 176, .07), rgba(255, 54, 176, 0) 60%); }
@media (max-width: 749px) {
  #nl-lista .ls-erou .ls-colectii { margin-inline: -16px; padding-inline: 16px; }
}
