.nesh-brand-directory .nb-wrap { padding-block:0 48px; }
.nesh-brand-directory .nb-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-block-end:1px solid var(--na-line); }
.nesh-brand-directory .nb-tabs a { display:grid; place-items:center; min-height:62px; padding:8px; border-block-end:3px solid transparent; font-size:28px; }
.nesh-brand-directory .nb-tabs a[aria-current] { border-block-end-color:var(--na-ink); font-weight:700; }
.nesh-brand-directory .na-filters { margin-block-start:28px; grid-template-columns:minmax(0,1.76fr) minmax(0,4fr); }
.nesh-brand-directory .na-panel { display:flex; gap:12px; }
.nesh-brand-directory .na-panel > :is(select,details) { flex:1; min-width:0; }
.nesh-brand-directory .na-filters:not(:has(.na-panel)) .na-search { grid-column:1 / -1; }
.nesh-brand-directory .nb-hero[data-view="brands"] ~ .nb-wrap .na-filters { grid-template-columns:minmax(0,1.76fr) minmax(0,1fr); }
.nesh-brand-directory .na-meta { justify-content:space-between; min-height:44px; font-size:15px; }
.nesh-brand-directory .nb-results { margin-block-start:18px; }
.nesh-brand-directory .nb-hero { --nb-focus:29%; }
.nesh-brand-directory .nb-hero[data-view="products"] { --nb-focus:25%; }
.nesh-brand-directory .nb-hero img { object-position:var(--nb-focus) center; }
@media (min-width:768px) {
    .nesh-brand-directory .nb-hero { --nb-fade:to left; --nb-edge:calc(max(8.3%, (100% - 1200px) / 2) + 5.7% + 480px); }
    .nesh-brand-directory .nb-hero:dir(ltr) { --nb-fade:to right; }
    .nesh-brand-directory .nb-hero picture { width:75%; inset-inline-start:auto; }
    .nesh-brand-directory .nb-hero::before {
        content:""; position:absolute; inset:0; pointer-events:none;
        background:linear-gradient(var(--nb-fade), #efefef calc(var(--nb-edge) - 5%), rgb(239 239 239 / .94) var(--nb-edge), rgb(239 239 239 / .5) calc(var(--nb-edge) + 10%), rgb(239 239 239 / 0) calc(var(--nb-edge) + 22%));
    }
    .nesh-brand-directory .na-hero-copy { position:relative; z-index:1; }
}
@media (min-width:768px) and (max-width:980px) {
    .nesh-brand-directory .nb-wrap { width:90%; }
    .nesh-brand-directory .nb-hero { --nb-edge:calc(10.7% + 440px); }
    .nesh-brand-directory .na-filters { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:767px) {
    .nesh-brand-directory .nb-tabs a { min-height:44px; font-size:17px; border-block-end-width:2px; }
    .nesh-brand-directory .na-filters,
    .nesh-brand-directory .nb-hero[data-view="brands"] ~ .nb-wrap .na-filters { grid-template-columns:minmax(0,1fr); margin-block-start:18px; }
    .nesh-brand-directory .na-open { justify-self:start; }
    .nesh-brand-directory .na-panel { display:none; }
    .nesh-brand-directory .na-panel.is-open { display:grid; }
    .nesh-brand-directory .nb-hero picture { transform:none; }
}

.nesh-brand-directory .na-filters { grid-template-columns:minmax(0,1.76fr) minmax(0,3fr); }
.nesh-brand-directory .nb-hero[data-view="brands"] ~ .nb-wrap .na-filters { grid-template-columns:minmax(0,1.76fr) minmax(0,3fr); }
.nesh-brand-directory .na-panel > :is(select,details) { flex:1 1 0; }
.nesh-brand-directory .na-meta { border:0; }
.nesh-brand-directory .na-result-status { margin-block:0 8px; }
.nesh-brand-directory .nb-card { padding-block:14px; row-gap:4px; }
.nesh-brand-directory .nb-summary { margin-block:0 6px; }
@media(max-width:767px) {
    .nesh-brand-directory .na-filters,
    .nesh-brand-directory .nb-hero[data-view="brands"] ~ .nb-wrap .na-filters { grid-template-columns:minmax(0,1fr); }
}
