

/* Start:/bitrix/templates/indecor_redesign/css/brand-directory.css?178881342910224*/
:root {
    --brand-paper: #fbfaf8;
    --brand-ink: #211f1d;
    --brand-muted: #7b756f;
    --brand-line: #dfd9d1;
    --brand-red: #bc171d;
}

.brand-directory,
.brand-directory * { box-sizing: border-box; }

.brand-directory {
    background: var(--brand-paper);
    color: var(--brand-ink);
    font-family: Arial, Helvetica, sans-serif;
}

.brand-directory a { color: inherit; text-decoration: none; }

.indecor-brand-directory-page #content > .wrapper_inner.custom {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

.indecor-brand-directory-page #content .page-top,
.indecor-brand-directory-page #content .left_block {
    display: none !important;
}

.indecor-brand-directory-page #content .container_inner,
.indecor-brand-directory-page #content .right_block,
.indecor-brand-directory-page #content .right_block > .middle,
.indecor-brand-directory-page #content .right_block > .middle > .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.brand-directory__wrap,
.brand-directory-help__inner {
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
}

.brand-directory__breadcrumbs {
    display: flex;
    padding: 25px 0 0;
    gap: 10px;
    color: #938e88;
    font-size: 11px;
}

.brand-directory__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 60px;
    padding: 48px 0 42px;
    align-items: end;
    border-bottom: 1px solid var(--brand-red);
}

.brand-directory__eyebrow {
    margin: 0 0 15px;
    color: var(--brand-muted);
    font-size: 11px;
    letter-spacing: .18em;
}

.brand-directory h1,
.brand-directory h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }

.brand-directory h1 {
    font-size: clamp(58px, 7vw, 94px);
    line-height: .98;
    letter-spacing: -.035em;
}

.brand-directory__lead {
    max-width: 720px;
    margin: 24px 0 0;
    color: #625d58;
    font-size: 16px;
    line-height: 1.55;
}

.brand-directory__stats { min-width: 160px; padding-bottom: 7px; text-align: right; }
.brand-directory__stats strong { display: block; font: 400 50px/1 Georgia, serif; }
.brand-directory__stats span { display: block; margin-top: 5px; color: var(--brand-muted); font-size: 12px; }

.brand-directory__controls {
    display: flex;
    padding: 24px 0;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--brand-line);
}

.brand-directory__countries { display: flex; gap: 9px; flex-wrap: wrap; }
.brand-directory__countries button {
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid var(--brand-line);
    background: #fff;
    color: var(--brand-ink);
    cursor: pointer;
    font-size: 12px;
}
.brand-directory__countries button.is-active { border-color: #222; background: #222; color: #fff; }

.brand-directory__search { display: flex; min-width: 280px; align-items: center; gap: 10px; }
.brand-directory__search-label { color: var(--brand-muted); font-size: 12px; }
.brand-directory__search input {
    width: 220px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--brand-line);
    border-radius: 0;
    background: #fff;
    color: var(--brand-ink);
    outline: none;
}
.brand-directory__search input:focus { border-color: var(--brand-red); }

.brand-directory__alphabet {
    display: grid;
    grid-template-columns: repeat(27, minmax(0, 1fr));
    width: 100%;
    min-height: 76px;
    align-items: stretch;
    border-bottom: 1px solid var(--brand-line);
}
.brand-directory__alphabet button {
    min-width: 0;
    padding: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--brand-ink);
    cursor: pointer;
    font: 400 clamp(16px, 1.45vw, 22px)/1 Georgia, "Times New Roman", serif;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.brand-directory__alphabet button:hover { color: var(--brand-red); }
.brand-directory__alphabet button.is-active {
    border-bottom-color: var(--brand-red);
    background: rgba(188, 23, 29, .035);
    color: var(--brand-red);
}

.brand-directory__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    padding: 0 0 76px;
}

.brand-directory-card {
    display: flex;
    min-width: 0;
    min-height: 350px;
    flex-direction: column;
    border: 1px solid var(--brand-line);
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease;
}
.brand-directory-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(42,35,28,.06); }
.brand-directory-card[hidden] { display: none; }

.brand-directory-card__logo {
    display: flex;
    height: 205px;
    padding: 28px;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.brand-directory-card__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 86%;
    max-height: 130px;
    object-fit: contain;
    image-rendering: auto;
}
.brand-directory-card__logo span { color: #bdb7b0; font: 400 82px/1 Georgia, serif; }

.brand-directory-card__body {
    display: flex;
    padding: 18px;
    flex: 1 1 auto;
    flex-direction: column;
    border-top: 1px solid #eee9e2;
}
.brand-directory-card__body > p { margin: 0 0 8px; color: var(--brand-muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.brand-directory-card__body h2 { font-size: clamp(22px, 1.55vw, 28px); line-height: 1.1; }
.brand-directory-card__body h2 a:hover { color: var(--brand-red); }
.brand-directory-card__body > div {
    display: flex;
    margin-top: auto;
    padding-top: 18px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #eee9e2;
    color: var(--brand-muted);
    font-size: 12px;
}
.brand-directory-card__body > div a { color: var(--brand-red); }

.brand-directory__empty { margin: 0; padding: 10px 0 80px; color: var(--brand-muted); }

.brand-directory-help { background: #f2eee8; }
.brand-directory-help__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 230px;
    padding-top: 46px;
    padding-bottom: 46px;
    align-items: center;
    gap: 50px;
}
.brand-directory-help p { margin: 0 0 16px; color: var(--brand-muted); font-size: 11px; letter-spacing: .16em; }
.brand-directory-help h2 { font-size: clamp(32px, 3vw, 46px); }
.brand-directory-help span { display: block; max-width: 680px; margin-top: 14px; color: #67615b; font-size: 14px; }
.brand-directory-help__actions { display: flex; gap: 12px; }
.brand-directory-help__actions a { display: inline-flex; min-height: 52px; padding: 0 24px; align-items: center; border: 1px solid #413d39; font-weight: 700; }
.brand-directory-help__actions a.is-primary { border-color: var(--brand-red); background: var(--brand-red); color: #fff; }

@media (max-width: 1050px) {
    .brand-directory__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .brand-directory__controls { align-items: flex-start; flex-direction: column; }
    .brand-directory__search { width: 100%; }
    .brand-directory__search input { width: 100%; }
}

@media (max-width: 820px) {
    .brand-directory__wrap,
    .brand-directory-help__inner { width: min(100% - 40px, 1320px); }
    .brand-directory__hero,
    .brand-directory-help__inner { grid-template-columns: 1fr; }
    .brand-directory__hero { gap: 22px; }
    .brand-directory__stats { display: flex; padding: 0; align-items: baseline; gap: 8px; text-align: left; }
    .brand-directory__stats strong,
    .brand-directory__stats span { display: inline; }
    .brand-directory__countries { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
    .brand-directory__countries::-webkit-scrollbar { display: none; }
    .brand-directory__countries button { flex: 0 0 auto; white-space: nowrap; }
    .brand-directory__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-directory-help__inner { min-height: 0; }
}

@media (max-width: 560px) {
    .brand-directory__wrap,
    .brand-directory-help__inner { width: min(100% - 28px, 1320px); }
    .brand-directory__hero { padding: 32px 0 28px; }
    .brand-directory h1 { font-size: clamp(48px, 14vw, 62px); }
    .brand-directory__lead { margin-top: 18px; font-size: 14px; }
    .brand-directory__controls { padding: 18px 0; }
    .brand-directory__alphabet { min-height: 52px; }
    .brand-directory__alphabet button { font-size: 12px; }
    .brand-directory__search { min-width: 0; }
    .brand-directory__search-label { display: none; }
    .brand-directory__grid { grid-template-columns: 1fr; gap: 14px; padding-bottom: 50px; }
    .brand-directory-card { min-height: 318px; }
    .brand-directory-card__logo { height: 185px; }
    .brand-directory-help__actions { align-items: stretch; flex-direction: column; }
    .brand-directory-help__actions a { justify-content: center; }
}


/* stage206: compact two-column mobile directory and tactile feedback */
@media (max-width:700px){
  .brand-directory-card{
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
    -webkit-tap-highlight-color:transparent;
  }
  .brand-directory-card:active{
    transform:translateY(-5px);
    border-color:transparent;
    box-shadow:0 10px 24px rgba(44,43,41,.16);
  }
}
@media (max-width:560px){
  .brand-directory__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .brand-directory-card{min-height:260px}
  .brand-directory-card__logo{height:140px;padding:16px 12px}
  .brand-directory-card__logo img{max-width:90%;max-height:100px}
  .brand-directory-card__body{padding:14px 12px}
  .brand-directory-card__body>p{margin-bottom:5px;font-size:9px}
  .brand-directory-card__body h2{font-size:18px;line-height:1.08}
  .brand-directory-card__body>div{gap:6px;padding-top:11px;font-size:10px}
  .brand-directory-card__body>div>a{font-size:0}
  .brand-directory-card__body>div>a::after{content:'→';font-size:15px}
}
@media (prefers-reduced-motion:reduce){
  .brand-directory-card,.indecor-home__brand-card{transition:none!important}
}

/* End */
/* /bitrix/templates/indecor_redesign/css/brand-directory.css?178881342910224 */
