/* KICKSTW reskin: Brands A–Z. Ported from site_prototype/assets/css/brands.css (featured cards and
   skeletons left out). Tokens, reset, .h-page, .eyebrow, .field, .input, .btn and .link come from
   chrome.css. The shortcode output sits inside the theme's page container; canvas.css makes that
   container white and as wide as the header. Everything here fills the width it is given and holds
   from 320px up. Rules are (0,2,0) or more so
   they win over the theme's element styles; the reset in chrome.css stays at (0,1,1). */

.kt-chrome.kt-brands { display: block; width: 100%; max-width: none; margin: 0; padding: 32px 0 clamp(64px, 6vw, 96px); }
.kt-chrome.kt-brands [hidden] { display: none; }

.kt-chrome .brands__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; padding: 0 0 32px; }
.kt-chrome .brands__head .h-page { overflow-wrap: anywhere; }
.kt-chrome .brands__empty { font: 400 16px/1.55 var(--font-body); color: var(--muted); }

.kt-chrome .brands__tools { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 20px; }
.kt-chrome .brands__find { flex: 0 1 420px; width: 100%; }
.kt-chrome .brands__find-row { display: flex; gap: 8px; }
.kt-chrome .brands__find-row .input { flex: 1 1 auto; min-width: 0; }
.kt-chrome .brands__find-row .btn { flex: 0 0 auto; }
.kt-chrome .brands__letters { flex: 1 1 520px; min-width: 0; }
.kt-chrome .brands__letters ol { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.kt-chrome .brands__letters li { flex: 0 0 auto; }
.kt-chrome .brands__letters a, .kt-chrome .brands__letters span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 44px; font: 500 14px var(--font-body); color: var(--ink); text-decoration: none; }
.kt-chrome .brands__letters a:hover { background: var(--panel); color: var(--ink); }
.kt-chrome .brands__letters span, .kt-chrome .brands__letters .is-off { font-weight: 400; color: var(--faint); }
.kt-chrome .brands__letters .is-off { cursor: default; pointer-events: none; }
.kt-chrome .brands__letters .is-off:hover { background: none; color: var(--faint); }

.kt-chrome .brands__groups { display: flex; flex-direction: column; }
.kt-chrome .brands__group { display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 20px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.kt-chrome .brands__group h2 { flex: 0 0 72px; margin: 0; padding: 12px 0 0; font: var(--type-block); text-transform: none; color: var(--ink); }
.kt-chrome .brands__group ul { flex: 1 1 min(480px, 100%); min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 0 24px; list-style: none; margin: 0; padding: 0; }
.kt-chrome .brands__group li { min-width: 0; }
.kt-chrome .brands__group a { display: flex; align-items: center; min-height: 52px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.kt-chrome .brands__group a:hover, .kt-chrome .brands__group a:focus { color: var(--ink); }
.kt-chrome .brands__group a:hover span { text-decoration: underline; }
.kt-chrome .brands__group a span { font: 500 16px/1.3 var(--font-body); overflow-wrap: anywhere; }

.kt-chrome .brands__none { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 20px; padding: clamp(24px, 4vw, 48px); background: var(--panel); }
.kt-chrome .brands__none-title { margin: 0; font: var(--type-block); overflow-wrap: anywhere; }
.kt-chrome .brands__none .link { max-width: 100%; overflow-wrap: anywhere; }

/* ---------- phones ---------- */
@media (max-width: 720px) {
  .kt-chrome.kt-brands { padding-top: 24px; }
  .kt-chrome .brands__head { padding-bottom: 20px; }
  .kt-chrome .brands__letters { flex-basis: 100%; }
  .kt-chrome .brands__letters ol { flex-wrap: nowrap; overflow-x: auto; }
  .kt-chrome .brands__letters a, .kt-chrome .brands__letters span { width: 34px; }
  .kt-chrome .brands__group { padding: 14px 0; gap: 4px; }
  .kt-chrome .brands__group h2 { flex-basis: 100%; padding-top: 0; }
  .kt-chrome .brands__group ul { grid-template-columns: 1fr; }
  .kt-chrome .brands__group a { min-height: 48px; }
}
