/* Brands A-Z v2 (/gamintojai) - page additions on top of css/v3/home.css. Created 2026-09-23. */
.bz { padding-bottom: 40px; }

/* breadcrumbs */
.bz-crumbs { padding-top: 12px; font-size: 13px; }
.v2 .bz-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.bz-crumbs ol::-webkit-scrollbar { display: none; }
.bz-crumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.bz-crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 8px; border-right: 1.5px solid #b3bcc3; border-top: 1.5px solid #b3bcc3; transform: rotate(45deg); flex: none; }
.bz-crumbs a { color: var(--ink-soft); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.bz-crumbs [aria-current] { display: inline-flex; align-items: center; min-height: 44px; }
.bz-crumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* head */
.bz-head { padding: 0 0 14px; }
.bz-head h1 { font-size: clamp(26px, 6vw, 38px); font-weight: 800; }
.bz-intro { margin: 8px 0 0; color: var(--ink-soft); font-size: 16px; max-width: 60ch; }
.bz-count { margin: 4px 0 0; color: var(--muted); font-size: 14px; font-weight: 700; }

/* sticky filter + alphabet bar */
.bz-bar { position: sticky; top: var(--bz-stick, 0px); z-index: 30; background: rgba(255, 253, 248, .96); border-bottom: 1px solid var(--line); box-shadow: 0 6px 12px -10px rgba(20, 60, 90, .25); }
@supports ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))) {
    .bz-bar { background: rgba(255, 253, 248, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
}
.bz-bar-in { padding-top: 6px; padding-bottom: 4px; }
.bz-search { position: relative; display: flex; align-items: center; max-width: 460px; margin: 0 0 14px; }
.bz-search svg { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.bz-search input {
    width: 100%; min-height: 46px; padding: 10px 16px 10px 46px;
    border: 2px solid #8c959d; border-radius: var(--pill); background: var(--surface);
    font: 600 16px var(--font); color: var(--ink); -webkit-appearance: none; appearance: none;
}
.bz-search input::placeholder { color: var(--muted); opacity: 1; }
.bz-search input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(0, 174, 239, .2); }
.bz-letters { margin: 0 calc(var(--gutter) * -1); }
.v2 ul.bz-letter-list {
    display: flex; gap: 4px; overflow-x: auto; padding: 2px var(--gutter) 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
}
.bz-letter-list::-webkit-scrollbar { display: none; }
.bz-letter-list li { flex: none; scroll-snap-align: start; }
.bz-letter {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px; padding: 0 8px; border-radius: 12px;
    font-weight: 800; font-size: 16px; color: var(--primary) !important; background: var(--surface);
    border: 1px solid var(--line); text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
a.bz-letter:hover { background: var(--sky); border-color: #cfe9f6; }
.bz-letter.is-current, .bz-letter.is-active { background: var(--primary); border-color: var(--primary); color: #fff !important; }
.bz-letter.is-off { color: #8a8f94 !important; background: transparent; border-style: dashed; cursor: default; }
.bz-letter.is-dim { opacity: .45; }

/* live status (filter results) */
.bz-live { margin: 12px 0 0; min-height: 1px; color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.bz-live:empty { margin: 0; }

/* sections */
.bz-top, .bz-sec { padding-top: 24px; scroll-margin-top: calc(var(--bz-stick, 0px) + var(--bz-bar-h, 120px) + 8px); }
.bz-top h2 { font-size: clamp(20px, 4.4vw, 26px); font-weight: 800; margin-bottom: 12px; }
.bz-sec-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.bz-sec-l { font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1; }
.bz-sec-n { font-size: 13px; font-weight: 700; color: var(--muted); }
.bz-sec.is-current .bz-sec-h { border-bottom-color: var(--brand); }
.bz-sec.is-current .bz-sec-l { color: var(--primary); }
.bz-sec.is-current { border-radius: var(--r); }
.bz-sec.is-flash .bz-grid { animation: bz-flash 1.4s ease; }
@keyframes bz-flash { 0% { box-shadow: 0 0 0 0 rgba(0, 174, 239, .0); } 20% { box-shadow: 0 0 0 6px rgba(0, 174, 239, .18); } 100% { box-shadow: 0 0 0 0 rgba(0, 174, 239, 0); } }

/* tiles */
.v2 ul.bz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border-radius: var(--r); }
.bz-tile {
    display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 10px 10px 12px;
    background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    color: var(--ink) !important; text-decoration: none !important;
    transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.bz-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cfe9f6; }
.bz-logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 1; border-radius: 12px; background: #fff; overflow: hidden; }
.bz-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px 10px; }
.bz-initials { font-size: 26px; font-weight: 800; letter-spacing: .02em; color: var(--ink); }
.bz-tone-sky { background: var(--sky); }
.bz-tone-butter { background: var(--butter); }
.bz-tone-mint { background: var(--mint); }
.bz-tone-blush { background: var(--blush); }
.bz-tone-lilac { background: var(--lilac); }
.bz-tone-peach { background: var(--peach); }
.bz-name { font-weight: 800; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.bz-n { font-size: 13px; color: var(--ink-soft); font-weight: 600; margin-top: auto; }
.bz-item[hidden] { display: none !important; }

.bz-empty { margin-top: 24px; padding: 20px; border-radius: var(--r); background: var(--butter); }
.bz-empty p { margin: 0 0 6px; }
.bz-desc { margin-top: 40px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; max-width: 80ch; }
.bz-desc * { font-family: inherit !important; font-size: inherit !important; text-align: left !important; }

@media (min-width: 480px) {
    .v2 ul.bz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .bz-letters { margin: 0; }
    .v2 ul.bz-letter-list { padding: 2px 0 4px; }
    .v2 ul.bz-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}
@media (min-width: 1024px) {
    .v2 ul.bz-letter-list { overflow: visible; gap: 1px; }
    .bz-letter-list li { flex: 1 1 0; min-width: 0; }
    .bz-letter { width: 100%; min-width: 44px; padding: 0; }
    .v2 ul.bz-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .v2 ul.bz-grid-top { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
    .v2 ul.bz-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .bz-tile, .bz-letter { transition: none; }
    .bz-tile:hover { transform: none; }
    .bz-sec.is-flash .bz-grid { animation: none; }
}
