/*
 * Digi Sanat shared Brand Catalogue system.
 * Scope: ds_brand archives and the catalogue-context bridge on Products.
 */

.ds-brand-catalog {
    --ds-catalog-paper: #fbfaf6;
    --ds-catalog-cream: #efe9dd;
    --ds-catalog-ink: #0b1d2a;
    --ds-catalog-signal: #d88958;
    display: grid;
    gap: 0;
}

.ds-brand-catalog :where(h1, h2, h3, p) {
    margin-block-start: 0;
}

.ds-catalog-journey {
    position: sticky;
    z-index: 90;
    inset-block-start: 94px;
    display: grid;
    grid-template-columns: repeat(7, auto);
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-block: 0 24px;
    padding: 10px 14px;
    overflow-x: auto;
    color: #d7e0e7;
    background: rgba(6, 19, 31, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(6, 19, 31, 0.16);
    backdrop-filter: blur(16px);
    scrollbar-width: thin;
}

.admin-bar .ds-catalog-journey {
    inset-block-start: 126px;
}

.ds-catalog-journey > a {
    display: grid;
    min-width: 116px;
    min-height: 52px;
    grid-template-columns: 22px 22px 1fr;
    grid-template-rows: auto auto;
    gap: 0 7px;
    align-items: center;
    padding: 7px 9px;
    border-radius: 9px;
}

.ds-catalog-journey > a:hover,
.ds-catalog-journey > a:focus-visible,
.ds-catalog-journey > a[aria-current="location"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.ds-catalog-journey > a > span {
    grid-row: 1 / 3;
    color: #e3a47c;
    font-family: var(--ds-font-technical, monospace);
    font-size: 12px;
    font-weight: 800;
}

.ds-catalog-journey .ds-icon {
    grid-row: 1 / 3;
    width: 20px;
    height: 20px;
}

.ds-catalog-journey b {
    font-size: 13px;
    line-height: 1.35;
}

.ds-catalog-journey small {
    color: #9eb0be;
    font-size: 12px;
    line-height: 1.35;
}

.ds-catalog-journey > i {
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, rgba(216, 137, 88, 0), rgba(216, 137, 88, 0.72));
}

.ds-brand-catalog__hero {
    position: relative;
    display: grid;
    min-height: 620px;
    grid-template-columns: minmax(0, 1.38fr) minmax(300px, 0.62fr);
    gap: clamp(32px, 6vw, 84px);
    align-items: center;
    padding: clamp(42px, 7vw, 92px);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 78% 23%, rgba(37, 110, 151, 0.36), transparent 31%),
        linear-gradient(136deg, #071521 0%, #0b2233 54%, #06131f 100%);
    border-radius: 22px;
    box-shadow: 0 32px 80px rgba(6, 19, 31, 0.16);
    isolation: isolate;
}

.ds-brand-catalog__hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    opacity: 0.36;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(100deg, #000, transparent 72%);
}

.ds-brand-catalog__hero::after {
    position: absolute;
    z-index: -1;
    inset-inline-end: -100px;
    inset-block-end: -190px;
    width: 480px;
    aspect-ratio: 1;
    content: "";
    border: 80px solid rgba(216, 137, 88, 0.08);
    border-radius: 50%;
}

.ds-brand-catalog__hero .ds-eyebrow {
    color: #e6a982;
}

.ds-brand-catalog__hero h1 {
    max-width: 13ch;
    margin-block-end: 24px;
    color: #fff;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.15;
}

.ds-brand-catalog__hero h1 span {
    color: #f0b18a;
    font-family: var(--ds-font-display, sans-serif);
}

.ds-brand-catalog__lead {
    max-width: 62ch;
    margin-block-end: 30px;
    color: #c4d1da;
    font-size: clamp(16px, 1.45vw, 19px);
    line-height: 2;
}

.ds-brand-catalog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ds-brand-catalog .ds-button--copper {
    color: #071521 !important;
    background: var(--ds-catalog-signal);
    border-color: var(--ds-catalog-signal);
}

.ds-brand-catalog .ds-button--copper:hover {
    background: #efb28d;
    border-color: #efb28d;
}

.ds-brand-catalog .ds-button--ghost {
    color: #fff !important;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.34);
}

.ds-brand-catalog .ds-button--ghost:hover {
    color: #071521 !important;
    background: #fff;
    border-color: #fff;
}

.ds-brand-catalog__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 42px 0 0;
}

.ds-brand-catalog__metrics > div {
    min-width: 148px;
    padding-inline: 22px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.15);
}

.ds-brand-catalog__metrics > div:first-child {
    padding-inline-start: 0;
    border-inline-start: 0;
}

.ds-brand-catalog__metrics dt {
    color: #9fb0bd;
    font-size: 12px;
}

.ds-brand-catalog__metrics dd {
    margin: 2px 0 0;
    color: #fff;
    font-family: var(--ds-font-display, sans-serif);
    font-size: 24px;
    font-weight: 720;
}

.ds-brand-passport {
    position: relative;
    padding: clamp(28px, 4vw, 44px);
    color: var(--ds-catalog-ink);
    background: #f3efe6;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 18px;
    box-shadow: 18px 22px 0 rgba(0, 0, 0, 0.12);
    transform: rotate(-1deg);
}

.ds-brand-passport::before {
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    height: 7px;
    content: "";
    background: linear-gradient(90deg, var(--ds-catalog-signal) 0 34%, #1b6b94 34% 100%);
    border-radius: 18px 18px 0 0;
}

.ds-brand-passport__mark {
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    margin-block-end: 30px;
    color: #fff;
    background: var(--ds-catalog-ink);
    border-radius: 50%;
    font-family: var(--ds-font-display, sans-serif);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.ds-brand-passport > p:first-of-type {
    margin-block-end: 2px;
    color: #786a5b;
    font-family: var(--ds-font-technical, monospace);
    font-size: 12px;
    font-weight: 800;
}

.ds-brand-passport > strong {
    display: block;
    margin-block-end: 2px;
    font-family: var(--ds-font-display, sans-serif);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.2;
}

.ds-brand-passport > span:not(.ds-brand-passport__mark) {
    color: #655d53;
    font-size: 14px;
}

.ds-brand-passport ul {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 24px 0 0;
    list-style: none;
    border-top: 1px dashed #c9bfae;
}

.ds-brand-passport li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: center;
}

.ds-brand-passport li .ds-icon {
    width: 22px;
    height: 22px;
    color: #176584;
}

.ds-brand-passport li span,
.ds-brand-passport li b,
.ds-brand-passport li small {
    display: block;
}

.ds-brand-passport li b {
    font-size: 13px;
}

.ds-brand-passport li small {
    color: #786a5b;
    font-size: 12px;
}

.ds-brand-passport__notice {
    margin: 24px 0 0 !important;
    padding: 14px 16px;
    color: #6d432a !important;
    background: rgba(216, 137, 88, 0.13);
    border-inline-start: 3px solid var(--ds-catalog-signal);
    font-size: 12px !important;
}

.ds-brand-catalog__section {
    padding-block: clamp(72px, 9vw, 116px);
    scroll-margin-top: 170px;
    border-bottom: 1px solid var(--ds-line);
}

.ds-brand-catalog__section .ds-section-heading {
    margin-block-end: 36px;
}

.ds-brand-catalog__section .ds-section-heading > div {
    max-width: 650px;
}

.ds-brand-catalog__section .ds-section-heading h2 {
    margin: 0;
    color: var(--ds-night);
    font-size: clamp(30px, 4vw, 52px);
}

.ds-brand-catalog__section .ds-section-heading > p {
    max-width: 52ch;
    margin: 0;
    color: var(--ds-muted);
    font-size: 15px;
    line-height: 1.95;
}

.ds-brand-family-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ds-brand-family-grid article {
    position: relative;
    display: grid;
    min-height: 240px;
    grid-template-columns: 1fr auto;
    align-content: end;
    padding: clamp(26px, 4vw, 42px);
    overflow: hidden;
    background: var(--ds-catalog-paper);
    border: 1px solid var(--ds-line);
    border-radius: 16px;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ds-brand-family-grid article:hover {
    border-color: #a9bbc7;
    box-shadow: var(--ds-shadow-soft, 0 18px 55px rgba(6, 19, 31, 0.08));
    transform: translateY(-3px);
}

.ds-brand-family-grid article > span {
    position: absolute;
    inset-block-start: 24px;
    inset-inline-start: 28px;
    color: #98a4ac;
    font-family: var(--ds-font-technical, monospace);
    font-size: 12px;
}

.ds-brand-family-grid .ds-icon {
    position: absolute;
    inset-block-start: 24px;
    inset-inline-end: 28px;
    width: 54px;
    height: 54px;
    color: #2d718f;
}

.ds-brand-family-grid h3,
.ds-brand-family-grid p,
.ds-brand-family-grid small {
    grid-column: 1 / -1;
}

.ds-brand-family-grid h3 {
    margin: 0;
    color: var(--ds-night);
    font-size: clamp(23px, 2.8vw, 34px);
}

.ds-brand-family-grid p {
    margin: 5px 0 15px;
    color: var(--ds-muted);
    font-family: var(--ds-font-technical, monospace);
    font-size: 12px;
}

.ds-brand-family-grid small {
    width: fit-content;
    padding: 5px 10px;
    color: #175f52;
    background: #e2f1eb;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.ds-brand-catalog__section--sources {
    position: relative;
}

.ds-source-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ds-source-card {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    padding: clamp(26px, 3.4vw, 40px);
    background: #fff;
    border: 1px solid var(--ds-line);
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(6, 19, 31, 0.045);
}

.ds-source-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-block-end: 28px;
}

.ds-source-card__top .ds-icon {
    width: 34px;
    height: 34px;
    color: var(--ds-blue-deep);
}

.ds-source-card__top span {
    padding: 4px 9px;
    color: #6d432a;
    background: #f7e8dd;
    border-radius: 999px;
    font-family: var(--ds-font-technical, monospace);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.ds-source-card > p {
    margin-block-end: 4px;
    color: var(--ds-copper-deep);
    font-family: var(--ds-font-technical, monospace);
    font-size: 12px;
    font-weight: 800;
}

.ds-source-card h3 {
    margin-block-end: 24px;
    color: var(--ds-night);
    font-size: clamp(21px, 2.4vw, 28px);
    line-height: 1.45;
}

.ds-source-card dl {
    display: grid;
    gap: 8px;
    margin: auto 0 24px;
}

.ds-source-card dl > div {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    padding-block: 8px;
    border-bottom: 1px dashed #d9d9d2;
}

.ds-source-card dt {
    color: var(--ds-muted);
    font-size: 12px;
}

.ds-source-card dd {
    margin: 0;
    color: var(--ds-ink);
    font-size: 13px;
    font-weight: 650;
}

.ds-source-card__local {
    color: var(--ds-muted);
    font-size: 12px;
}

.ds-code-guide__example {
    display: grid;
    grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.38fr);
    gap: clamp(24px, 5vw, 64px);
    padding: clamp(30px, 5vw, 60px);
    color: #fff;
    background: var(--ds-night);
    border-radius: 18px;
}

.ds-code-guide__example > p {
    align-self: start;
    padding-block-end: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.ds-code-guide__example > p span,
.ds-code-guide__example > p strong {
    display: block;
}

.ds-code-guide__example > p span {
    color: #9db0bd;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.ds-code-guide__example > p strong {
    margin-block-start: 12px;
    color: #f1ae83;
    font-family: var(--ds-font-technical, monospace);
    font-size: clamp(27px, 4vw, 46px);
    line-height: 1.2;
}

.ds-code-guide__example ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ds-code-guide__example li {
    display: grid;
    grid-template-columns: minmax(64px, auto) 1fr;
    gap: 18px;
    align-items: center;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.ds-code-guide__example code {
    color: #f1ae83;
    font-size: 20px;
    font-weight: 800;
}

.ds-code-guide__example li span,
.ds-code-guide__example li b,
.ds-code-guide__example li small {
    display: block;
}

.ds-code-guide__example li b {
    color: #fff;
    font-size: 13px;
}

.ds-code-guide__example li small {
    margin-block-start: 2px;
    color: #b6c5cf;
    font-size: 12px;
}

.ds-code-guide__guardrail,
.ds-catalog-empty {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: clamp(28px, 4vw, 48px);
    background: #f8eee6;
    border: 1px solid #e1c2ad;
    border-radius: 16px;
}

.ds-code-guide__guardrail > .ds-icon,
.ds-catalog-empty > .ds-icon {
    width: 48px;
    height: 48px;
    color: var(--ds-copper-deep);
}

.ds-code-guide__guardrail h2,
.ds-catalog-empty h3 {
    margin-block-end: 8px;
    color: var(--ds-night);
    font-size: clamp(24px, 3vw, 36px);
}

.ds-code-guide__guardrail div > p:last-child,
.ds-catalog-empty div > p:last-child {
    max-width: 68ch;
    margin: 0;
    color: #665a51;
    font-size: 14px;
}

.ds-brand-product-index__toolbar {
    display: grid;
    grid-template-columns: auto minmax(240px, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-block-end: 26px;
    padding: 18px;
    background: var(--ds-night);
    border-radius: 14px;
}

.ds-brand-product-index__toolbar label {
    display: grid;
    min-width: 190px;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: center;
    color: #fff;
}

.ds-brand-product-index__toolbar label .ds-icon {
    width: 24px;
    height: 24px;
    color: #efaa7e;
}

.ds-brand-product-index__toolbar label span,
.ds-brand-product-index__toolbar label b,
.ds-brand-product-index__toolbar label small {
    display: block;
}

.ds-brand-product-index__toolbar label b {
    font-size: 13px;
}

.ds-brand-product-index__toolbar label small {
    color: #aebdc7;
    font-size: 12px;
}

.ds-brand-product-index__toolbar input {
    width: 100%;
    min-height: 50px;
    padding: 10px 16px;
    color: var(--ds-night);
    background: #fff;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: var(--ds-font-technical, monospace);
    font-size: 15px;
}

.ds-brand-product-index__toolbar output {
    color: #c1ced6;
    font-size: 12px;
    white-space: nowrap;
}

.ds-brand-product-groups {
    display: grid;
    gap: 24px;
}

.ds-brand-product-group {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ds-line);
    border-radius: 14px;
}

.ds-brand-product-group > header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 22px 26px;
    background: #f0ede6;
    border-bottom: 1px solid var(--ds-line);
}

.ds-brand-product-group > header h3 {
    margin: 0;
    color: var(--ds-night);
    font-size: 21px;
}

.ds-brand-product-group > header p {
    margin: 3px 0 0;
    color: var(--ds-muted);
    font-size: 12px;
}

.ds-brand-product-group > header > span {
    flex: none;
    padding: 6px 10px;
    color: var(--ds-blue-deep);
    background: #fff;
    border: 1px solid var(--ds-line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
}

.ds-brand-product-table-wrap {
    overflow-x: auto;
}

.ds-brand-product-table {
    width: 100%;
    border-collapse: collapse;
    text-align: start;
}

.ds-brand-product-table :where(th, td) {
    padding: 16px 22px;
    border-bottom: 1px solid #e7e9e8;
    text-align: start;
    vertical-align: middle;
}

.ds-brand-product-table th {
    color: var(--ds-muted);
    background: #fafaf8;
    font-size: 12px;
    font-weight: 750;
}

.ds-brand-product-table td {
    color: var(--ds-ink-soft);
    font-size: 13px;
}

.ds-brand-product-table tbody tr:last-child td {
    border-bottom: 0;
}

.ds-brand-product-table tbody tr:hover td {
    background: #fbf7f2;
}

.ds-brand-product-table code {
    color: var(--ds-night);
    font-family: var(--ds-font-technical, monospace);
    font-size: 16px;
    font-weight: 800;
}

.ds-brand-product-table .ds-state {
    white-space: nowrap;
}

.ds-brand-product-index__empty {
    margin: 20px 0 0;
    padding: 22px;
    color: #714429;
    background: #f8eee6;
    border: 1px solid #e1c2ad;
    border-radius: 12px;
}

.ds-brand-product-index__empty[hidden],
[data-catalog-group][hidden],
[data-catalog-product][hidden] {
    display: none !important;
}

/* Product-side bridge: same contract, compact editorial expression. */
.ds-product-catalog-context {
    margin-block: 72px;
    padding: clamp(28px, 4vw, 48px);
    color: #fff;
    background:
        radial-gradient(circle at 90% 20%, rgba(39, 115, 151, 0.32), transparent 27%),
        var(--ds-night);
    border-radius: 18px;
}

.ds-product-catalog-context > header {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
    gap: 34px;
    align-items: end;
    margin-block-end: 30px;
}

.ds-product-catalog-context .ds-eyebrow {
    color: #e8a579;
}

.ds-product-catalog-context h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(27px, 3.5vw, 42px);
}

.ds-product-catalog-context > header > p {
    margin: 0;
    color: #b9c8d2;
    font-size: 14px;
}

.ds-product-catalog-context__path {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ds-product-catalog-context__path li {
    display: grid;
    min-height: 112px;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    gap: 3px 9px;
    align-content: start;
    padding: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 10px;
}

.ds-product-catalog-context__path li.is-current {
    background: rgba(216, 137, 88, 0.16);
    border-color: rgba(232, 165, 121, 0.55);
}

.ds-product-catalog-context__path li > span {
    grid-row: 1 / 3;
    color: #e8a579;
    font-family: var(--ds-font-technical, monospace);
    font-size: 12px;
}

.ds-product-catalog-context__path small {
    color: #91a6b4;
    font-size: 12px;
}

.ds-product-catalog-context__path b {
    align-self: end;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
}

.ds-product-catalog-context__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    margin-block-start: 24px;
}

.ds-product-catalog-context .ds-button--outline {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.34);
}

.ds-product-catalog-context .ds-button--outline:hover {
    color: var(--ds-night) !important;
    background: #fff;
}

.ds-product-catalog-context .ds-text-link {
    color: #efb18a !important;
}

.ds-product-catalog-context__actions > span {
    color: #aebec8;
    font-size: 12px;
}

@media (max-width: 1020px) {
    .ds-brand-catalog__hero {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 32px;
        padding: 54px 42px;
    }

    .ds-brand-catalog__metrics > div {
        min-width: 128px;
        padding-inline: 14px;
    }

    .ds-brand-product-index__toolbar {
        grid-template-columns: 1fr 1.4fr;
    }

    .ds-brand-product-index__toolbar output {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .ds-catalog-journey {
        justify-content: start;
        inset-block-start: 88px;
    }

    .admin-bar .ds-catalog-journey {
        inset-block-start: 120px;
    }

    .ds-brand-catalog__hero {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .ds-brand-passport {
        max-width: 520px;
        transform: none;
    }

    .ds-brand-family-grid,
    .ds-source-card-grid,
    .ds-code-guide__example,
    .ds-product-catalog-context > header {
        grid-template-columns: 1fr;
    }

    .ds-product-catalog-context__path {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .ds-brand-catalog__hero {
        margin-inline: -8px;
        padding: 38px 24px;
        border-radius: 16px;
    }

    .ds-brand-catalog__hero h1 {
        font-size: clamp(38px, 13vw, 56px);
    }

    .ds-brand-catalog__metrics {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .ds-brand-catalog__metrics > div {
        min-width: 0;
        padding-inline: 10px;
    }

    .ds-brand-catalog__metrics dt {
        font-size: 12px;
        line-height: 1.5;
    }

    .ds-brand-catalog__metrics dd {
        font-size: 19px;
    }

    .ds-brand-catalog__section {
        padding-block: 68px;
    }

    .ds-brand-family-grid {
        grid-template-columns: 1fr;
    }

    .ds-brand-family-grid article {
        min-height: 220px;
    }

    .ds-code-guide__example {
        padding: 24px;
    }

    .ds-code-guide__example li {
        grid-template-columns: 56px 1fr;
        padding: 12px;
    }

    .ds-code-guide__guardrail,
    .ds-catalog-empty {
        grid-template-columns: 1fr;
    }

    .ds-brand-product-index__toolbar {
        grid-template-columns: 1fr;
    }

    .ds-brand-product-index__toolbar output {
        grid-column: auto;
    }

    .ds-brand-product-group > header {
        align-items: flex-start;
        padding: 18px;
    }

    .ds-brand-product-table,
    .ds-brand-product-table :where(thead, tbody, tr, th, td) {
        display: block;
        width: 100%;
    }

    .ds-brand-product-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .ds-brand-product-table tr {
        padding: 16px 18px;
        border-bottom: 1px solid var(--ds-line);
    }

    .ds-brand-product-table td {
        display: grid;
        grid-template-columns: 112px 1fr;
        gap: 12px;
        align-items: center;
        padding: 8px 0;
        border: 0;
    }

    .ds-brand-product-table td::before {
        content: attr(data-label);
        color: var(--ds-muted);
        font-size: 12px;
    }

    .ds-product-catalog-context {
        margin-block: 52px;
        padding: 26px 20px;
    }

    .ds-product-catalog-context__path {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ds-brand-family-grid article {
        transition: none;
    }
}
