@font-face {
    font-family: "Vazirmatn DS";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/vazirmatn-arabic-variable.woff2") format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
    font-family: "Vazirmatn DS";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/vazirmatn-latin-variable.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
    --ds-night: #06131f;
    --ds-night-2: #0a1b2a;
    --ds-ink: #13253b;
    --ds-ink-soft: #34485d;
    --ds-blue: #155b87;
    --ds-blue-deep: #0d456a;
    --ds-copper: #c9784e;
    --ds-copper-deep: #a85834;
    --ds-paper: #f5f3ee;
    --ds-paper-2: #ebe7df;
    --ds-white: #fff;
    --ds-muted: #667789;
    --ds-line: #d8dee3;
    --ds-line-dark: #b9c4cd;
    --ds-verified: #247a63;
    --ds-warning: #a45b37;
    --ds-shell: 1280px;
    --ds-content: 800px;
    --ds-radius: 4px;
    --ds-shadow: 0 24px 70px rgba(6, 19, 31, 0.09);
    --ds-font: "Vazirmatn DS", Vazirmatn, Tahoma, Arial, sans-serif;
    --ds-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

html {
    scroll-behavior: smooth;
}

body.ds-site-theme {
    margin: 0;
    color: var(--ds-ink);
    background: var(--ds-paper);
    font-family: var(--ds-font);
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

body.ds-site-theme,
body.ds-site-theme * {
    box-sizing: border-box;
}

body.ds-site-theme img {
    display: block;
    max-width: 100%;
    height: auto;
}

body.ds-site-theme a {
    color: inherit;
    text-decoration: none;
}

body.ds-site-theme button,
body.ds-site-theme input,
body.ds-site-theme select,
body.ds-site-theme textarea {
    font: inherit;
}

body.ds-site-theme :focus-visible {
    outline: 3px solid rgba(201, 120, 78, 0.72);
    outline-offset: 4px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ds-skip-link {
    position: fixed !important;
    z-index: 100002;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    width: auto;
    height: auto;
    padding: 9px 16px;
    clip: auto;
    color: var(--ds-white);
    background: var(--ds-night);
    transform: translateY(-160%);
}

.ds-skip-link:focus {
    transform: translateY(0);
}

.ds-site {
    min-height: 100vh;
    overflow: clip;
    direction: rtl;
}

.ds-shell {
    width: min(calc(100% - 64px), var(--ds-shell));
    margin-inline: auto;
}

.ds-shell--content {
    width: min(calc(100% - 64px), var(--ds-content));
}

.ds-main {
    min-height: 60vh;
    padding-block: 64px 100px;
    background: var(--ds-paper);
}

.ds-eyebrow {
    margin: 0 0 12px;
    color: var(--ds-copper-deep);
    font-family: var(--ds-mono);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ds-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    color: var(--ds-white) !important;
    background: var(--ds-blue-deep);
    border: 1px solid var(--ds-blue-deep);
    border-radius: var(--ds-radius);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ds-button:hover {
    background: var(--ds-night);
    border-color: var(--ds-night);
    transform: translateY(-1px);
}

.ds-button--compact {
    min-height: 42px;
    padding: 9px 16px;
}

.ds-button--outline {
    color: var(--ds-ink) !important;
    background: transparent;
    border-color: var(--ds-line-dark);
}

.ds-button--outline:hover {
    color: var(--ds-white) !important;
}

.ds-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ds-blue-deep) !important;
    font-size: 13px;
    font-weight: 800;
}

.ds-text-link:hover {
    color: var(--ds-copper-deep) !important;
}

/* Global decision header */
.ds-header {
    position: sticky;
    z-index: 1000;
    inset-block-start: 0;
    height: 84px;
    color: var(--ds-white);
    background: rgba(6, 19, 31, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    transition: box-shadow 160ms ease, border-color 160ms ease;
}

.admin-bar .ds-header {
    inset-block-start: 32px;
}

.ds-header.is-scrolled {
    border-bottom-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

.ds-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 34px;
    align-items: center;
    height: 100%;
}

.ds-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: max-content;
}

.ds-brand__mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9px;
}

.ds-brand__image {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.ds-brand__monogram {
    font-family: var(--ds-mono);
    font-size: 14px;
    font-weight: 900;
}

.ds-brand__type {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.ds-brand__type strong {
    color: var(--ds-white);
    font-size: 17px;
    font-weight: 850;
}

.ds-brand__type small {
    color: #aebdca;
    font-size: 12px;
    font-weight: 600;
}

.ds-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

.ds-nav a {
    position: relative;
    color: #b7c4cf;
    font-size: 12px;
    font-weight: 700;
}

.ds-nav a::after {
    position: absolute;
    inset-inline-start: 0;
    inset-block-end: -9px;
    width: 0;
    height: 2px;
    content: "";
    background: var(--ds-copper);
    transition: width 160ms ease;
}

.ds-nav a:hover,
.ds-nav a[aria-current="page"] {
    color: var(--ds-white);
}

.ds-nav a:hover::after,
.ds-nav a[aria-current="page"]::after {
    width: 100%;
}

.ds-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ds-phone {
    color: #b7c4cf;
    font-family: var(--ds-mono);
    font-size: 12px;
    letter-spacing: 0.03em;
}

.ds-header .ds-button {
    color: var(--ds-night) !important;
    background: var(--ds-copper);
    border-color: var(--ds-copper);
}

.ds-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--ds-radius);
}

.ds-menu-toggle > span:not(.screen-reader-text) {
    width: 18px;
    height: 1.5px;
    background: var(--ds-white);
}

/* Breadcrumbs and authored content */
.ds-breadcrumbs {
    margin-block-end: 38px;
    color: var(--ds-muted);
    font-size: 12px;
}

.ds-breadcrumbs .woocommerce-breadcrumb {
    margin: 0;
    padding: 0;
}

.ds-breadcrumbs__items,
.ds-breadcrumbs .woocommerce-breadcrumb > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.ds-breadcrumbs a:hover {
    color: var(--ds-blue);
}

.ds-entry__header,
.ds-archive-heading {
    margin-block-end: 42px;
    padding-block-end: 32px;
    border-bottom: 1px solid var(--ds-line);
}

.ds-entry__title,
.ds-archive-heading h1 {
    max-width: 900px;
    margin: 0;
    color: var(--ds-night);
    font-size: clamp(2rem, 4.5vw, 4.25rem);
    font-weight: 850;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.ds-archive-heading > p:last-child {
    max-width: 760px;
    margin: 20px 0 0;
    color: var(--ds-muted);
}

.ds-entry__content,
.ds-prose {
    color: var(--ds-ink-soft);
    font-size: 17px;
}

.ds-entry__content :is(h2, h3, h4),
.ds-prose :is(h2, h3, h4) {
    margin-block: 2.2em 0.65em;
    color: var(--ds-night);
    line-height: 1.35;
}

.ds-entry__content a,
.ds-prose a {
    color: var(--ds-blue-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ds-entry__content :is(table, pre),
.ds-prose :is(table, pre) {
    max-width: 100%;
    overflow-x: auto;
}

.ds-entry-grid,
.ds-search-results__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ds-entry-card {
    overflow: hidden;
    background: var(--ds-white);
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
}

.ds-entry-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ds-paper-2);
}

.ds-entry-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ds-entry-card__body {
    padding: 24px;
}

.ds-entry-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
    color: var(--ds-muted);
    font-family: var(--ds-mono);
    font-size: 12px;
}

.ds-entry-card h2 {
    margin: 0;
    color: var(--ds-night);
    font-size: 20px;
    line-height: 1.45;
}

.ds-entry-card__body > p:not(.ds-entry-card__meta) {
    color: var(--ds-muted);
    font-size: 13px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-block-start: 48px;
}

.nav-links .page-numbers {
    display: grid;
    min-width: 40px;
    min-height: 40px;
    place-items: center;
    padding: 6px 12px;
    background: var(--ds-white);
    border: 1px solid var(--ds-line);
}

.nav-links .current {
    color: var(--ds-white);
    background: var(--ds-blue-deep);
    border-color: var(--ds-blue-deep);
}

/* Search and empty states */
.ds-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 820px;
    margin-block-start: 28px;
    background: var(--ds-white);
    border: 1px solid var(--ds-line-dark);
}

.ds-search input {
    min-width: 0;
    height: 58px;
    padding-inline: 18px;
    color: var(--ds-night);
    background: transparent;
    border: 0;
    outline: 0;
}

.ds-search button {
    min-width: 140px;
    color: var(--ds-white);
    background: var(--ds-blue-deep);
    border: 0;
    cursor: pointer;
    font-weight: 800;
}

.ds-empty-state {
    max-width: 820px;
    padding: clamp(32px, 6vw, 72px);
    background: var(--ds-white);
    border: 1px solid var(--ds-line);
}

.ds-empty-state h2 {
    margin: 0;
    color: var(--ds-night);
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.ds-empty-state > p {
    color: var(--ds-muted);
}

.ds-not-found__grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
    gap: 70px;
    align-items: center;
}

.ds-not-found__code {
    color: var(--ds-paper-2);
    font-family: var(--ds-mono);
    font-size: clamp(7rem, 20vw, 16rem);
    font-weight: 900;
    line-height: 0.8;
    text-shadow: -1px 0 var(--ds-line), 0 1px var(--ds-line), 1px 0 var(--ds-line), 0 -1px var(--ds-line);
}

.ds-not-found__content h1 {
    margin: 0;
    color: var(--ds-night);
    font-size: clamp(2rem, 4.5vw, 4rem);
    line-height: 1.2;
}

.ds-not-found__content > p {
    max-width: 700px;
    color: var(--ds-muted);
}

.ds-not-found__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-block-start: 24px;
}

/* Catalog */
.ds-catalog-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 48px;
    align-items: end;
    margin-block-end: 38px;
    padding-block-end: 34px;
    border-bottom: 1px solid var(--ds-line);
}

.ds-catalog-heading h1 {
    margin: 0;
    color: var(--ds-night);
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.ds-catalog-heading__description,
.ds-catalog-heading__identity > p:last-child {
    max-width: 760px;
    margin-block-start: 18px;
    color: var(--ds-muted);
}

.ds-catalog-heading__count {
    padding: 24px;
    background: var(--ds-night);
    border-inline-start: 4px solid var(--ds-copper);
}

.ds-catalog-heading__count strong,
.ds-catalog-heading__count span,
.ds-catalog-heading__count small {
    display: block;
}

.ds-catalog-heading__count strong {
    color: var(--ds-white);
    font-family: var(--ds-mono);
    font-size: 32px;
}

.ds-catalog-heading__count span {
    color: #d8e2e9;
    font-size: 12px;
    font-weight: 800;
}

.ds-catalog-heading__count small {
    color: #90a2b0;
    font-size: 12px;
}

.ds-technical-nav {
    margin-block-end: 34px;
    padding: 22px;
    background: var(--ds-white);
    border: 1px solid var(--ds-line);
}

.ds-technical-nav > p {
    margin: 0 0 14px;
    color: var(--ds-muted);
    font-size: 12px;
    font-weight: 800;
}

.ds-technical-nav__items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ds-technical-nav__items a {
    padding: 14px;
    background: var(--ds-paper);
    border: 1px solid transparent;
}

.ds-technical-nav__items a:hover {
    border-color: var(--ds-copper);
}

.ds-technical-nav__items strong,
.ds-technical-nav__items span {
    display: block;
}

.ds-technical-nav__items strong {
    color: var(--ds-night);
    font-size: 13px;
}

.ds-technical-nav__items span {
    color: var(--ds-muted);
    font-size: 12px;
}

.ds-catalog-tools {
    margin-block: 24px;
    min-height: 46px;
}

.ds-catalog-tools::after {
    display: table;
    clear: both;
    content: "";
}

.ds-catalog-tools .woocommerce-result-count,
.ds-catalog-tools .woocommerce-ordering {
    margin-block: 0;
}

.ds-catalog-tools select {
    min-height: 44px;
    padding-inline: 12px;
    background: var(--ds-white);
    border: 1px solid var(--ds-line-dark);
}

.ds-product-grid,
.ds-search-results__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ds-product-card {
    height: 100%;
    overflow: hidden;
    background: var(--ds-white);
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
    transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.ds-product-card:hover {
    border-color: var(--ds-line-dark);
    box-shadow: var(--ds-shadow);
    transform: translateY(-3px);
}

.ds-product-card__media {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    padding: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, #faf9f6, var(--ds-paper-2));
    border-bottom: 1px solid var(--ds-line);
}

.ds-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.ds-product-card__placeholder {
    display: grid;
    place-items: center;
    color: var(--ds-muted);
    text-align: center;
}

.ds-product-card__placeholder > span {
    color: var(--ds-line-dark);
    font-family: var(--ds-mono);
    font-size: 44px;
    font-weight: 900;
}

.ds-product-card__placeholder small {
    font-size: 12px;
}

.ds-product-card__body {
    padding: 22px;
}

.ds-product-card__signals,
.ds-product-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ds-product-card__brand,
.ds-brand-chip {
    color: var(--ds-blue-deep);
    font-family: var(--ds-mono);
    font-size: 12px;
    font-weight: 900;
}

.ds-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    color: var(--ds-muted);
    background: var(--ds-paper);
    border: 1px solid var(--ds-line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.ds-state--verified,
.ds-state--reviewed {
    color: var(--ds-verified);
    background: #edf7f3;
    border-color: #b9dbcf;
}

.ds-state--warning,
.ds-state--proposal {
    color: var(--ds-warning);
    background: #fff5ef;
    border-color: #e9c8b6;
}

.ds-product-card__mpn {
    margin: 18px 0 10px;
}

.ds-product-card__mpn span,
.ds-product-card__mpn code,
.ds-product-card__mpn strong {
    display: block;
}

.ds-product-card__mpn span {
    color: var(--ds-muted);
    font-size: 12px;
    font-weight: 800;
}

.ds-product-card__mpn code {
    color: var(--ds-night);
    font-family: var(--ds-mono);
    font-size: 16px;
    font-weight: 900;
}

.ds-product-card__mpn strong {
    color: var(--ds-warning);
    font-size: 12px;
}

.ds-product-card__title {
    margin: 0 0 16px;
    color: var(--ds-night);
    font-size: 17px;
    line-height: 1.5;
}

.ds-product-card__specs {
    margin: 0 0 20px;
    border-block: 1px solid var(--ds-line);
}

.ds-product-card__specs > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding-block: 7px;
}

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

.ds-product-card__specs dd {
    margin: 0;
    color: var(--ds-night);
    font-family: var(--ds-mono);
    font-size: 12px;
    font-weight: 700;
}

.ds-product-card__unknown {
    min-height: 54px;
    color: var(--ds-warning);
    font-size: 12px;
}

.ds-catalog-assist {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
    margin-block-start: 68px;
    padding: clamp(28px, 5vw, 52px);
    color: var(--ds-white);
    background: var(--ds-night);
    border-inline-start: 5px solid var(--ds-copper);
}

.ds-catalog-assist h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.ds-catalog-assist p:not(.ds-eyebrow) {
    max-width: 760px;
    margin-block-end: 0;
    color: #b8c5cf;
}

/* Product decision surface */
.ds-product-page {
    padding-block-start: 34px;
}

.ds-product-identity {
    margin-block-end: 44px;
    padding-block-end: 38px;
    border-bottom: 1px solid var(--ds-line);
}

.ds-product-identity__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-block-end: 24px;
}

.ds-product-identity__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.44fr);
    gap: 64px;
    align-items: end;
}

.ds-product-identity h1 {
    max-width: 900px;
    margin: 0;
    color: var(--ds-night);
    font-size: clamp(2.3rem, 5.7vw, 5.6rem);
    font-weight: 880;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.ds-product-identity__summary {
    max-width: 760px;
    margin-block-start: 18px;
    color: var(--ds-muted);
    font-size: 17px;
}

.ds-product-code {
    padding: 24px;
    color: var(--ds-white);
    background: var(--ds-night);
    border-inline-start: 4px solid var(--ds-copper);
}

.ds-product-code > span,
.ds-product-code > code,
.ds-product-code > strong,
.ds-product-code > small {
    display: block;
}

.ds-product-code > span {
    color: #9fb0bd;
    font-size: 12px;
    font-weight: 800;
}

.ds-product-code > code {
    overflow-wrap: anywhere;
    color: var(--ds-white);
    font-family: var(--ds-mono);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 900;
}

.ds-product-code > strong {
    color: #f1b18f;
    font-size: 12px;
}

.ds-product-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(340px, 0.86fr);
    gap: 28px;
    align-items: start;
    margin-block-end: 88px;
}

.ds-product-media {
    min-width: 0;
}

.ds-product-media__primary,
.ds-product-media__missing {
    display: grid;
    min-height: 580px;
    margin: 0;
    place-items: center;
    padding: clamp(24px, 5vw, 56px);
    background: linear-gradient(150deg, #fff, var(--ds-paper-2));
    border: 1px solid var(--ds-line);
}

.ds-product-media__primary img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
}

.ds-product-media__missing {
    text-align: center;
}

.ds-product-media__missing > span {
    color: var(--ds-line-dark);
    font-family: var(--ds-mono);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 900;
}

.ds-product-media__missing strong {
    color: var(--ds-night);
}

.ds-product-media__missing p {
    max-width: 520px;
    color: var(--ds-muted);
}

.ds-product-media__thumbs {
    display: flex;
    gap: 8px;
    margin-block-start: 10px;
}

.ds-product-media__thumbs button {
    width: 72px;
    height: 72px;
    padding: 5px;
    background: var(--ds-white);
    border: 1px solid var(--ds-line);
    cursor: pointer;
}

.ds-product-media__thumbs button.is-active {
    border-color: var(--ds-copper);
}

.ds-product-media__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ds-product-overview__decision {
    position: sticky;
    inset-block-start: 110px;
}

.ds-verification-card {
    padding: 28px;
    background: var(--ds-white);
    border: 1px solid var(--ds-line);
    border-block-start: 4px solid var(--ds-warning);
}

.ds-verification-card--verified,
.ds-verification-card--reviewed {
    border-block-start-color: var(--ds-verified);
}

.ds-verification-card__heading {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ds-status-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    margin-block-start: 8px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(36, 122, 99, 0.09);
}

.ds-verification-card h2 {
    margin: 0;
    color: var(--ds-night);
    font-size: 23px;
}

.ds-verification-card > p {
    color: var(--ds-muted);
    font-size: 12px;
}

.ds-verification-card dl {
    margin: 18px 0 0;
    border-block-start: 1px solid var(--ds-line);
}

.ds-verification-card dl > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-block: 9px;
    border-block-end: 1px solid var(--ds-line);
}

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

.ds-verification-card dd {
    margin: 0;
    color: var(--ds-night);
    font-size: 12px;
    font-weight: 800;
}

.ds-product-overview__action {
    padding: 26px;
    background: var(--ds-night);
}

.ds-product-overview__action > p {
    margin-block-start: 0;
    color: #b7c5cf;
    font-size: 12px;
}

.ds-product-overview__action .ds-button {
    width: 100%;
    background: var(--ds-copper);
    border-color: var(--ds-copper);
}

.ds-product-overview__action .ds-text-link {
    justify-content: center;
    margin-block-start: 14px;
    color: #d3dfe6 !important;
}

.ds-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    margin-block-end: 28px;
}

.ds-section-heading h2 {
    max-width: 780px;
    margin: 0;
    color: var(--ds-night);
    font-size: clamp(1.75rem, 3.5vw, 3.2rem);
    line-height: 1.22;
}

.ds-section-heading > p {
    max-width: 380px;
    margin: 0;
    color: var(--ds-muted);
    font-size: 12px;
}

.ds-key-specs,
.ds-full-specs,
.ds-evidence,
.ds-product-guidance,
.ds-relationships {
    scroll-margin-top: 110px;
    margin-block: 88px;
}

.ds-key-specs__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    background: var(--ds-white);
    border-block-start: 1px solid var(--ds-line);
    border-inline-start: 1px solid var(--ds-line);
}

.ds-key-specs__grid > div {
    min-height: 130px;
    padding: 24px;
    border-block-end: 1px solid var(--ds-line);
    border-inline-end: 1px solid var(--ds-line);
}

.ds-key-specs__grid dt {
    color: var(--ds-muted);
    font-size: 12px;
    font-weight: 800;
}

.ds-key-specs__grid dd {
    margin: 18px 0 0;
    color: var(--ds-night);
    font-family: var(--ds-mono);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 900;
}

.ds-spec-table {
    overflow-x: auto;
    background: var(--ds-white);
    border: 1px solid var(--ds-line);
}

.ds-spec-table table {
    width: 100%;
    border-collapse: collapse;
}

.ds-spec-table :is(th, td) {
    padding: 15px 20px;
    text-align: start;
    border-block-end: 1px solid var(--ds-line);
}

.ds-spec-table th {
    width: 42%;
    color: var(--ds-muted);
    background: #faf9f6;
    font-size: 12px;
}

.ds-spec-table td {
    color: var(--ds-night);
    font-family: var(--ds-mono);
    font-size: 12px;
    font-weight: 750;
}

.ds-data-gap {
    padding: 24px;
    color: var(--ds-warning);
    background: #fff7f2;
    border: 1px solid #e7c8b7;
    border-inline-start: 4px solid var(--ds-copper);
}

.ds-data-gap p {
    margin-block-end: 0;
    color: var(--ds-muted);
    font-size: 12px;
}

.ds-evidence {
    padding: clamp(28px, 5vw, 52px);
    background: var(--ds-white);
    border: 1px solid var(--ds-line);
}

.ds-evidence__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    border-block-start: 1px solid var(--ds-line);
    border-inline-start: 1px solid var(--ds-line);
}

.ds-evidence__grid > div {
    padding: 18px;
    border-block-end: 1px solid var(--ds-line);
    border-inline-end: 1px solid var(--ds-line);
}

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

.ds-evidence__grid dd {
    margin: 8px 0 0;
    overflow-wrap: anywhere;
    color: var(--ds-night);
    font-family: var(--ds-mono);
    font-size: 12px;
    font-weight: 800;
}

.ds-evidence__policy {
    margin: 22px 0 0;
    padding-block-start: 18px;
    color: var(--ds-muted);
    border-block-start: 1px solid var(--ds-line);
    font-size: 12px;
}

.ds-product-caution {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 28px;
    padding: 24px;
    color: #dce5eb;
    background: var(--ds-night);
    border-inline-start: 4px solid var(--ds-copper);
}

.ds-product-caution strong {
    color: var(--ds-copper);
}

.ds-product-caution p {
    margin: 0;
    font-size: 12px;
}

.ds-relationships__empty {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: center;
    padding: 28px;
    background: var(--ds-paper-2);
    border: 1px solid var(--ds-line);
}

.ds-relationships__empty p {
    margin: 0;
    color: var(--ds-muted);
}

.ds-product-rfq {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: 56px;
    scroll-margin-top: 110px;
    margin-block-start: 90px;
    padding: clamp(34px, 6vw, 70px);
    color: var(--ds-white);
    background: var(--ds-night);
    border-block-start: 5px solid var(--ds-copper);
}

.ds-product-rfq h2 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.18;
}

.ds-product-rfq__intro > p:not(.ds-eyebrow),
.ds-product-rfq__intro li {
    color: #b5c3ce;
}

.ds-product-rfq__intro ul {
    margin: 22px 0 0;
    padding-inline-start: 20px;
    font-size: 12px;
}

.ds-product-rfq__surface {
    padding: 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.ds-product-rfq__code {
    margin: 0 0 20px;
}

.ds-product-rfq__code span,
.ds-product-rfq__code code {
    display: block;
}

.ds-product-rfq__code span {
    color: #9eafbd;
    font-size: 12px;
}

.ds-product-rfq__code code {
    overflow-wrap: anywhere;
    color: var(--ds-white);
    font-family: var(--ds-mono);
    font-size: 18px;
    font-weight: 900;
}

.ds-product-rfq__surface .ds-button {
    width: 100%;
    color: var(--ds-night) !important;
    background: var(--ds-copper);
    border-color: var(--ds-copper);
}

.ds-phone-link {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-block-start: 12px;
    padding: 13px;
    color: #d7e2e9;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 12px;
}

.ds-phone-link strong {
    font-family: var(--ds-mono);
}

.ds-product-rfq__surface > small {
    display: block;
    margin-block-start: 12px;
    color: #8799a8;
    font-size: 12px;
}

/* Footer */
.ds-footer {
    color: var(--ds-white);
    background: #030b12;
}

.ds-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 72px;
    padding-block: 72px;
}

.ds-brand--footer .ds-brand__type small {
    color: #91a2b0;
}

.ds-footer__identity > p {
    max-width: 560px;
    margin-block: 22px;
    color: #9aabb8;
    font-size: 12px;
}

.ds-footer__contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin: 0;
}

.ds-footer__contact > div {
    padding-block-start: 10px;
    border-block-start: 1px solid rgba(255, 255, 255, 0.1);
}

.ds-footer__contact dt {
    color: #758896;
    font-size: 12px;
}

.ds-footer__contact dd {
    margin: 3px 0 0;
    color: #c9d4dc;
    font-size: 12px;
}

.ds-footer__navigation {
    display: grid;
    gap: 24px;
    align-content: center;
}

.ds-footer__navigation nav,
.ds-footer__menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ds-footer__navigation a:not(.ds-button) {
    color: #c0cdd6;
    font-size: 12px;
}

.ds-footer__navigation a:hover {
    color: var(--ds-white);
}

.ds-footer__bottom {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-block-start: 1px solid rgba(255, 255, 255, 0.11);
}

.ds-footer__bottom p {
    margin: 0;
    color: #758896;
    font-family: var(--ds-mono);
    font-size: 12px;
}

/* A one-item archive should feel curated, not accidentally empty. */
.ds-catalog-sparse-layout {
    display: grid;
    grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: stretch;
}

.ds-catalog-sparse-layout .ds-product-grid {
    grid-template-columns: minmax(0, 1fr);
}

.ds-catalog-sparse-note {
    position: relative;
    display: grid;
    align-content: center;
    min-height: 100%;
    padding: clamp(28px, 5vw, 56px);
    overflow: hidden;
    background: var(--ds-paper);
    border: 1px solid var(--ds-line);
    border-radius: 2px 28px 2px 2px;
}

.ds-catalog-sparse-note::after {
    position: absolute;
    inset-block: 0;
    inset-inline-end: 0;
    width: 5px;
    background: var(--ds-copper);
    content: "";
}

.ds-catalog-sparse-note__signal {
    display: grid;
    width: 46px;
    height: 46px;
    margin-block-end: 28px;
    place-items: center;
    color: var(--ds-night);
    font-family: var(--ds-mono);
    font-size: 13px;
    font-weight: 900;
    background: var(--ds-copper);
    border-radius: 50%;
}

.ds-catalog-sparse-note h2 {
    max-width: 15ch;
    margin: 8px 0 0;
    font-size: clamp(1.65rem, 3vw, 2.65rem);
    line-height: 1.35;
}

.ds-catalog-sparse-note > p:not(.ds-eyebrow) {
    max-width: 60ch;
    margin: 22px 0 0;
    color: var(--ds-muted);
    font-size: 15px;
    line-height: 1.95;
}

.ds-catalog-sparse-note__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 22px;
    margin-block-start: 30px;
}

/*
 * SKF compatibility route readability.
 *
 * The Catalog Route plugin remains the markup owner during the compatibility
 * window. Keep these overrides behind its body classes so the Theme does not
 * alter native WooCommerce, Theme RFQ, or unrelated dialog typography.
 */
body.ds-reference-product-page .ds-catalog-app [data-open-rfq],
body.ds-reference-product-page .ds-catalog-app .product-tabs button,
body.ds-reference-product-page .ds-catalog-app .cross-brand .content-heading button {
    min-height: 44px;
    padding: 11px 16px;
    font-size: 13px;
    line-height: 1.5;
}

body.ds-reference-product-page .ds-catalog-app .product-decision-page :is(
    .breadcrumbs,
    .eyebrow,
    .state-pill,
    .identity-line,
    .source-mini,
    .source-chip,
    .product-art__index small,
    .product-art__caption small,
    .key-specs span,
    .key-specs small,
    .commercial-state span,
    .confidence-card span,
    .spec-sheet dt,
    .editorial-summary li > span,
    .designation-side small,
    .application-gates span,
    .document-record dt,
    .cross-grid article > span
) {
    font-size: 12px;
    line-height: 1.55;
}

body.ds-reference-product-page .ds-catalog-app .product-decision-page :is(
    .product-art__caption b,
    .commercial-state b,
    .commercial-state small,
    .confidence-card b,
    .confidence-card small,
    .editorial-summary > div > p:last-child,
    .editorial-summary li b,
    .editorial-summary li small,
    .spec-sheet dd,
    .designation-side b,
    .designation-side--wide > div > p:last-child,
    .application-gates p,
    .document-record dd,
    .document-record__boundary,
    .cross-grid article > b,
    .cross-grid article > small
) {
    font-size: 13px;
    line-height: 1.8;
}

body.ds-reference-product-page .ds-catalog-app .product-decision-page .action-note {
    font-size: 13px !important;
    line-height: 1.8;
}

body.ds-has-skf-catalog-route #rfq-dialog .dialog-close {
    width: 44px;
    height: 44px;
}

body.ds-has-skf-catalog-route #rfq-dialog small {
    font-size: 12px;
    line-height: 1.55;
}

body.ds-has-skf-catalog-route #rfq-dialog :is(
    .eyebrow,
    .rfq-context > span,
    .rfq-step__heading > span,
    .rfq-locked-product span,
    .rfq-locked-product > i,
    .rfq-review section > span,
    .rfq-success__stages b
) {
    font-size: 12px;
    line-height: 1.6;
}

body.ds-has-skf-catalog-route #rfq-dialog :is(
    .rfq-heading > div > p:last-child,
    .rfq-system-note b,
    .rfq-progress__trust b,
    .rfq-error,
    .rfq-step__heading > p,
    .rfq-guard b,
    .privacy-inline,
    .rfq-review section > b,
    .consent-check b,
    .rfq-success > p:not(.eyebrow)
) {
    font-size: 13px;
    line-height: 1.7;
}

body.ds-has-skf-catalog-route #rfq-dialog .rfq-context b,
body.ds-has-skf-catalog-route #rfq-dialog .rfq-progress li b,
body.ds-has-skf-catalog-route #rfq-dialog .rfq-form label > span,
body.ds-has-skf-catalog-route #rfq-dialog .rfq-choice-grid label > span b,
body.ds-has-skf-catalog-route #rfq-dialog .urgency-options b {
    font-size: 13px;
    line-height: 1.5;
}

body.ds-has-skf-catalog-route #rfq-dialog .rfq-form legend {
    font-size: 12px;
    line-height: 1.55;
}

body.ds-has-skf-catalog-route #rfq-dialog .rfq-progress li > span {
    font-size: 12px;
}

body.ds-has-skf-catalog-route #rfq-dialog :is(
    input:not([type="radio"]):not([type="checkbox"]):not([name="website"]),
    select,
    textarea,
    button
) {
    min-height: 44px;
    font-size: 14px;
}

body.ds-has-skf-catalog-route #rfq-dialog .rfq-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    pointer-events: none !important;
    white-space: nowrap !important;
}

@media (max-width: 760px) {
    body.ds-has-skf-catalog-route #rfq-dialog .rfq-progress li b {
        font-size: 12px;
        line-height: 1.35;
    }
}

/* WooCommerce notices remain visible but inherit the system. */
.woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-info, .woocommerce-error),
.woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
    margin-block-end: 24px;
    padding: 16px 20px;
    color: var(--ds-ink);
    background: var(--ds-white);
    border: 1px solid var(--ds-line);
    border-inline-start: 4px solid var(--ds-blue);
}

@media (max-width: 1100px) {
    .ds-header__inner {
        gap: 18px;
    }

    .ds-nav {
        gap: 16px;
    }

    .ds-phone {
        display: none;
    }

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

    .ds-product-overview {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    }

    .ds-product-media__primary,
    .ds-product-media__missing {
        min-height: 480px;
    }

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

@media (max-width: 900px) {
    .ds-shell,
    .ds-shell--content {
        width: min(calc(100% - 36px), var(--ds-shell));
    }

    .ds-menu-toggle {
        display: flex;
        grid-column: 2;
        justify-self: end;
    }

    .ds-header__inner {
        grid-template-columns: auto 1fr auto;
    }

    .ds-header__actions .ds-button {
        display: none;
    }

    .ds-nav {
        position: fixed;
        z-index: 1001;
        inset-block-start: 84px;
        inset-inline: 0;
        display: none;
        align-items: stretch;
        padding: 20px;
        color: var(--ds-white);
        background: var(--ds-night);
        border-block-start: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }

    .admin-bar .ds-nav {
        inset-block-start: 116px;
    }

    .ds-nav.is-open {
        display: grid;
    }

    .ds-nav a {
        padding: 11px;
        border-block-end: 1px solid rgba(255, 255, 255, 0.08);
    }

    .ds-nav a::after {
        display: none;
    }

    .ds-catalog-heading,
    .ds-catalog-sparse-layout,
    .ds-product-identity__grid,
    .ds-product-overview,
    .ds-product-rfq,
    .ds-footer__top {
        grid-template-columns: minmax(0, 1fr);
    }

    .ds-catalog-heading__count {
        width: min(100%, 260px);
    }

    .ds-technical-nav__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ds-product-overview__decision {
        position: static;
    }

    .ds-key-specs__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ds-product-rfq {
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .admin-bar .ds-header {
        inset-block-start: 46px;
    }

    .admin-bar .ds-nav {
        inset-block-start: 130px;
    }

    .ds-shell,
    .ds-shell--content {
        width: min(calc(100% - 24px), var(--ds-shell));
    }

    .ds-main {
        padding-block: 38px 70px;
    }

    .ds-brand__type small {
        display: none;
    }

    .ds-header__actions {
        display: none;
    }

    .ds-product-grid,
    .ds-search-results__grid,
    .ds-entry-grid,
    .ds-key-specs__grid,
    .ds-evidence__grid,
    .ds-footer__contact {
        grid-template-columns: minmax(0, 1fr);
    }

    .ds-technical-nav__items {
        grid-template-columns: minmax(0, 1fr);
    }

    .ds-search {
        grid-template-columns: minmax(0, 1fr);
    }

    .ds-search button {
        min-height: 50px;
    }

    .ds-not-found__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .ds-not-found__code {
        font-size: 7rem;
    }

    .ds-product-media__primary,
    .ds-product-media__missing {
        min-height: 360px;
    }

    .ds-section-heading,
    .ds-relationships__empty,
    .ds-catalog-assist,
    .ds-product-caution {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .ds-section-heading {
        display: grid;
        gap: 16px;
    }

    .ds-key-specs,
    .ds-full-specs,
    .ds-evidence,
    .ds-product-guidance,
    .ds-relationships {
        margin-block: 64px;
    }

    .ds-product-rfq {
        margin-inline: -12px;
        padding: 30px 20px;
    }

    .ds-footer__navigation nav,
    .ds-footer__menu {
        grid-template-columns: minmax(0, 1fr);
    }

    .ds-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding-block: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
