/* Каталог — оглавление отделов. Бренды — сетка с логотипом. */
.kg-page{background:#fff!important}
.kg-wrap{max-width:960px;margin:0 auto;padding:36px 20px 80px;font-family:Georgia,"Times New Roman",Times,serif}
.kg-head{margin-bottom:8px;padding-bottom:20px;border-bottom:1px solid #d8d8d4}
.kg-head h1{font-size:28px;font-weight:400;letter-spacing:0;margin:0 0 8px;color:#1a1a1a}
.kg-head p{font-size:15px;color:#4a4a46;margin:0 0 16px;max-width:none;line-height:1.5;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.kg-search{display:flex;gap:8px;max-width:none;margin:0 0 14px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.kg-search input{flex:1;min-width:0;padding:9px 0;border:0;border-bottom:1px solid #1a1a1a;border-radius:0;font:inherit;background:transparent}
.kg-search button{padding:9px 0 9px 12px;border:0;border-radius:0;background:transparent;color:#1a1a1a;font:inherit;font-weight:600;cursor:pointer;border-bottom:1px solid #1a1a1a}
.kg-links{font-size:14px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.kg-links a{color:#1a1a1a;font-weight:600;margin-right:16px}
.kg-empty{padding:24px 0;color:#4a4a46;line-height:1.6;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.kg-empty a{color:#1a1a1a;font-weight:600}

.kg-index{display:grid;grid-template-columns:1fr 1fr;column-gap:48px;align-items:start}
.kg-sec{padding:0;border-bottom:1px solid #e4e4e0}
.kg-sec summary{display:flex;align-items:baseline;gap:12px;padding:14px 0;cursor:pointer;list-style:none;font-size:20px;font-weight:400;color:#1a1a1a}
.kg-sec summary::-webkit-details-marker{display:none}
.kg-sec summary::marker{content:''}
.kg-sec__name{flex:1;min-width:0}
.kg-sec__n{font-size:13px;color:#7a7a74;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-weight:500}
.kg-sec summary::after{content:'+';flex:none;width:1em;text-align:right;font-size:18px;line-height:1;color:#7a7a74;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.kg-sec[open] summary::after{content:'−'}
.kg-sec ul{list-style:none;margin:0;padding:0 0 4px}
.kg-sec li a{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:5px 0;color:#1a1a1a;text-decoration:none;font-size:15px;line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.kg-sec li a:hover span{text-decoration:underline}
.kg-sec li em{font-style:normal;font-size:13px;color:#7a7a74;flex:none}
.kg-sec__empty{margin:0 0 8px;font-size:14px;color:#7a7a74;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.kg-sec__all{display:inline-block;margin:0 0 14px;font-size:13px;font-weight:600;color:#1a1a1a;text-decoration:none;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.kg-sec__all:hover{text-decoration:underline}

.kg-wrap--wide{max-width:1100px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.br-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.br-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e6e8ec;border-radius:8px;padding:14px;text-decoration:none;color:#16181c;min-width:0}
.br-card:hover{border-color:#16181c}
.br-logo{width:56px;height:56px;border-radius:8px;background:#f4f5f7;border:1px solid #e6e8ec;display:grid;place-items:center;overflow:hidden;flex:none;font-weight:750;font-size:20px;color:#16181c}
.br-logo img{width:100%;height:100%;object-fit:contain;padding:6px;background:#fff}
.br-card b{display:block;font-size:15px;line-height:1.3}
.br-card small{display:block;margin-top:4px;color:#5b6169;font-size:13px}

@media(max-width:720px){
  .kg-index{grid-template-columns:1fr;column-gap:0}
}
@media(max-width:600px){
  .kg-search{flex-direction:column}
  .kg-search input,.kg-search button{border-bottom:1px solid #1a1a1a}
  .kg-wrap{padding:24px 16px 56px}
}

/* Список марок: буквы, порядок, страницы. Марок бывает десятки тысяч. */
.br-letters{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0 12px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.br-letters a{min-width:34px;height:34px;padding:0 8px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e6e8ec;border-radius:8px;background:#fff;color:#16181c;font-size:14px;font-weight:600;text-decoration:none}
.br-letters a:hover{border-color:#16181c}
.br-letters a.is-on{background:#16181c;color:#fff;border-color:#16181c}
.br-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin:4px 0 14px;font-size:14px;color:#5b6169;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.br-sort{display:flex;gap:6px}
.br-sort a{padding:7px 12px;border:1px solid #e6e8ec;border-radius:999px;color:#16181c;text-decoration:none;font-weight:600;font-size:13px;background:#fff}
.br-sort a.is-on{background:#16181c;color:#fff;border-color:#16181c}
.br-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin:22px 0 4px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.br-pager a{min-width:40px;height:40px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e6e8ec;border-radius:8px;background:#fff;color:#16181c;font-size:14px;font-weight:600;text-decoration:none}
.br-pager a.is-on{background:#16181c;color:#fff;border-color:#16181c}
.br-pager span{color:#9aa0a8}
@media(max-width:600px){
  .br-letters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;margin-right:-16px;padding-right:16px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
  .br-letters a{min-width:40px;height:40px;flex:none}
  .br-sort{width:100%}
  .br-sort a{flex:1;text-align:center}
}
