/* Tema · partea „magazine”: pagina cu toate magazinele, cu logouri */

.stores-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.stores-search input {
  width: min(320px, 80vw); height: 44px; padding: 0 14px; font-size: 16px;
  background: var(--white); color: var(--ink); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
}
.stores-search input::placeholder { color: var(--muted); opacity: 1; }

.letters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.letters a {
  display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-weight: 700; text-decoration: none;
}
.letters a:hover { border-color: var(--ink); }

.stores-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; padding-top: 10px; }
.stores-grid > li { scroll-margin-top: 14px; }
.stores-grid > li[hidden] { display: none; }
.stores-grid > li:target .store-card { border-color: var(--ink); box-shadow: 0 0 0 2px var(--tag); }
.store-card {
  display: flex; flex-direction: column; align-items: center; height: 100%; padding: 20px 12px 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; text-align: center; text-decoration: none;
  transition: border-color .12s ease, transform .12s ease, box-shadow .12s ease;
}
.store-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 6px 18px var(--shadow); }
.store-card .store-mark { --mark: 68px; margin-bottom: 12px; }
.store-card-name { font-weight: 750; font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.store-card-meta { margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.store-card-disc { margin-top: 8px; padding: 2px 10px; background: var(--paper); border-radius: 999px; color: var(--red); font-weight: 750; font-size: 13px; white-space: nowrap; }

@media (max-width: 520px) {
  .stores-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .store-card { padding: 16px 8px 14px; }
  .store-card .store-mark { --mark: 58px; }
  .stores-search, .stores-search input { width: 100%; }
}
