/*
 * `industrial` (was `datasheet`) — the industrial-parts demo's theme (Piston). Fetched, not
 * compiled.
 *
 * Subject and visitor: a B2B supplier of pneumatic, hydraulic and automation
 * parts on Tehran's tools bazaar; a factory maintenance engineer or a machine
 * builder who reads the code off a failed part's plate and wants the same
 * part, a datasheet and a price, without a phone call.
 * Tone: technical, a datasheet rather than a shop window.
 * The detail only this subject has: the ORDERING CODE (CY-ISO-32-100-M). Every
 * variant's SKU is its code, set in mono; the front page decodes one segment
 * by segment, and every product's second picture is its line drawing.
 *
 * Drafting paper (#F3F4F1, a 40px grid on the muted bands), ink #1E252C and
 * one safety orange (#E8590C) for the calls to act, with ink, not white, on
 * it. Hairlines and a 2px radius everywhere; nothing is rounded or soft. The
 * footer is drawn as a drawing's title block: ruled cells, each with its
 * label (TITLE, CATALOGUE, CONTACT, CERTIFIED). Headings in Estedad Black,
 * body in VazirmatnFD, codes in the system mono.
 *
 * Plain CSS, copied to `public/themes/industrial.css` by
 * `scripts/build/sync-theme-assets.mjs`; it selects only the hooks the
 * builder publishes (`sb-*`, `data-sb-*`).
 */

@font-face {
  font-family: 'EstedadFD';
  src: url('fonts/estedad/Estedad-FD-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'EstedadFD';
  src: url('fonts/estedad/Estedad-FD-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root.theme-industrial {
  --theme-font-display: 'EstedadFD';
  --background: #f3f4f1;
  --foreground: #1e252c;
  --card: #ffffff;
  --card-foreground: #1e252c;
  --popover: #ffffff;
  --popover-foreground: #1e252c;
  --primary: #e8590c;
  --primary-foreground: #1e252c;
  --secondary: #e9ebe7;
  --secondary-foreground: #1e252c;
  --muted: #e9ebe7;
  --muted-foreground: #58636d;
  --accent: #e9ebe7;
  --accent-foreground: #1e252c;
  --destructive: #c0341d;
  --destructive-foreground: #ffffff;
  --border: #cdd2cc;
  --input: #9aa39b;
  --ring: #e8590c;

  --primary-50: #fff4ed;
  --primary-100: #ffe5d3;
  --primary-200: #ffc7a5;
  --primary-300: #ffa06d;
  --primary-400: #fb7533;
  --primary-500: #e8590c;
  --primary-600: #c94a07;
  --primary-700: #a73b09;
  --primary-800: #86310f;
  --primary-900: #6c2a10;
  --primary-950: #3b1205;

  --brand-accent: var(--brand-primary, #e8590c);
  --brand-accent-foreground: var(--brand-primary-foreground, #1e252c);
  --chrome-ink: var(--brand-secondary, #1e252c);
  --chrome-ink-foreground: var(--brand-secondary-foreground, #e6e9ec);

  --surface-page: #f3f4f1;
  --surface-alt: #e9ebe7;
  --surface-input: #ffffff;
  --surface-panel: #e9ebe7;
  --ink-secondary: #58636d;

  --radius-step-sm: 2px;
  --radius-step-md: 2px;
  --radius-step-lg: 2px;
  --radius-step-xl: 2px;

  --ds-display: var(--app-font-display);
  /* The named monospaces carry no Persian glyphs, so Persian falls through to
     the site's own face rather than to a system monospace that has some. */
  --ds-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', var(--app-font-sans);
  --ds-ink: var(--brand-secondary, #1e252c);
  --ds-grid: #e2e5e0;
  --ds-hair: 1px solid var(--border);
  --ds-rule: 2px solid var(--foreground);
  --ds-chrome-muted: #a9b3bc;
  --ds-chrome-line: #3a444e;
  --ds-chrome-label: #8d98a2;
  --ds-amber: #ffb38a;
}

/* An owner's own primary (`--brand-primary`, painted on the root's style only
   when they set one): the orange's light tint, the words on the ink bands,
   follows it. */
:root.theme-industrial[style*='--brand-primary:'] {
  --ds-amber: color-mix(in oklab, var(--brand-primary) 45%, white);
}

@media (prefers-color-scheme: dark) {
  :root:not(.light).theme-industrial {
    --background: #151a1f;
    --foreground: #e6e9ec;
    --card: #1c2329;
    --card-foreground: #e6e9ec;
    --popover: #1c2329;
    --popover-foreground: #e6e9ec;
    --primary: #f26b22;
    --primary-foreground: #151a1f;
    --secondary: #222a31;
    --secondary-foreground: #e6e9ec;
    --muted: #222a31;
    --muted-foreground: #9aa5af;
    --accent: #222a31;
    --accent-foreground: #e6e9ec;
    --destructive: #ff7b63;
    --border: #2e3740;
    --input: #4a5560;
    --ring: #f26b22;
    --brand-accent: var(--brand-primary, #f26b22);
    --brand-accent-foreground: var(--brand-primary-foreground, #151a1f);
    --chrome-ink: var(--brand-secondary, #0e1215);
    --surface-page: #151a1f;
    --surface-alt: #1a2026;
    --surface-input: #1c2329;
    --surface-panel: #1a2026;
    --ink-secondary: #9aa5af;
    --ds-ink: #0e1215;
    --ds-grid: #1f262d;
    --ds-chrome-line: #2e3740;
  }
}

/* Same palette as the media query above — change both. */
:root.dark.theme-industrial {
  --background: #151a1f;
  --foreground: #e6e9ec;
  --card: #1c2329;
  --card-foreground: #e6e9ec;
  --popover: #1c2329;
  --popover-foreground: #e6e9ec;
  --primary: #f26b22;
  --primary-foreground: #151a1f;
  --secondary: #222a31;
  --secondary-foreground: #e6e9ec;
  --muted: #222a31;
  --muted-foreground: #9aa5af;
  --accent: #222a31;
  --accent-foreground: #e6e9ec;
  --destructive: #ff7b63;
  --border: #2e3740;
  --input: #4a5560;
  --ring: #f26b22;
  --brand-accent: var(--brand-primary, #f26b22);
  --brand-accent-foreground: var(--brand-primary-foreground, #151a1f);
  --chrome-ink: var(--brand-secondary, #0e1215);
  --surface-page: #151a1f;
  --surface-alt: #1a2026;
  --surface-input: #1c2329;
  --surface-panel: #1a2026;
  --ink-secondary: #9aa5af;
  --ds-ink: #0e1215;
  --ds-grid: #1f262d;
  --ds-chrome-line: #2e3740;
}

/* ── Type ───────────────────────────────────────────────────────────────── */

.theme-industrial :is(h1, h2, .sb-heading, .sb-cta-title, .sb-layer[data-sb-layer='heading'] .sb-layer-text) {
  font-family: var(--ds-display);
  font-weight: 900;
  line-height: 1.35;
}

.theme-industrial h3 {
  font-family: var(--ds-display);
  font-weight: 700;
}

/* Estedad's Latin is a fallback's; an English page sets its headings in
   the platform's Poppins, tighter. */
.theme-industrial:lang(en) :is(h1, h2, h3, .sb-heading, .sb-cta-title, .sb-layer[data-sb-layer='heading'] .sb-layer-text) {
  font-family: 'Poppins', 'VazirmatnFD', sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* ── The header: an ink strip, the name and the search, then the menu ──── */

.theme-industrial .sb-chrome-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--card);
  border-bottom: var(--ds-rule);
}

.theme-industrial .sb-chrome-header .sb-section:first-child {
  background: var(--ds-ink);
  color: var(--chrome-ink-foreground);
  font-size: 0.8125rem;
}

.theme-industrial .sb-chrome-header .sb-section:first-child .sb-section-inner {
  min-height: 2.25rem;
  align-items: center;
}

.theme-industrial .sb-chrome-header .sb-section:first-child .sb-column:last-child {
  justify-content: flex-end;
  color: var(--ds-amber);
  font-family: var(--ds-mono);
  font-size: 0.75rem;
}

.theme-industrial .sb-chrome-header .sb-section:first-child a {
  color: inherit;
}

.theme-industrial .sb-chrome-header .sb-section + .sb-section .sb-section-inner {
  align-items: center;
}

.theme-industrial .sb-chrome-header .sb-column {
  align-self: center;
  flex-wrap: nowrap;
  gap: 0.375rem;
}

.theme-industrial .sb-chrome-header .sb-section:nth-child(2) .sb-column:last-child {
  justify-content: flex-end;
}

.theme-industrial .sb-chrome-logo {
  gap: 0.625rem;
}

.theme-industrial .sb-chrome-logo img {
  height: 2.75rem;
  width: auto;
}

.theme-industrial .sb-chrome-logo > span {
  font-family: var(--ds-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--foreground);
}

.theme-industrial:lang(en) .sb-chrome-logo > span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* The search is a field with a square ink key at its end — the widest thing
   in the header, because a code is what this visitor came with. */
.theme-industrial .sb-chrome-header .sb-column:has(form.sb-chrome-search) > * {
  flex: 1 1 auto;
}

.theme-industrial .sb-chrome-header form.sb-chrome-search {
  max-width: 40rem;
  margin-inline: auto;
  min-height: 3rem;
  padding: 0.25rem 1rem;
  border: 1px solid var(--foreground);
  border-radius: 2px;
  background: var(--background);
  color: var(--muted-foreground);
}

.theme-industrial .sb-chrome-header form.sb-chrome-search:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.theme-industrial .sb-chrome-header form.sb-chrome-search input {
  border: 0;
  background: transparent;
  outline: none;
  color: var(--foreground);
  /* The site's face, not the codes' monospace: a query is mostly Persian
     words, and a monospace space between them reads as a gap. */
  font-family: var(--app-font-sans);
}

.theme-industrial .sb-chrome-header :is(a.sb-chrome-search, button.sb-chrome-search, .sb-chrome-cart, .sb-chrome-account, .sb-chrome-theme, button.sb-chrome-locale) {
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  height: 2.75rem;
  border: var(--ds-hair);
  border-radius: 2px;
  background: var(--card);
  color: var(--foreground);
  transition: border-color 150ms, background-color 150ms;
}

.theme-industrial .sb-chrome-header :is(a.sb-chrome-search, button.sb-chrome-search, .sb-chrome-cart, .sb-chrome-account, .sb-chrome-theme, button.sb-chrome-locale):hover {
  border-color: var(--foreground);
}

.theme-industrial .sb-chrome-cart-count {
  background: var(--brand-accent);
  color: var(--brand-accent-foreground);
  font-family: var(--ds-mono);
  font-weight: 700;
}

/* The count is a bare number: the mono face draws it in Latin digits, so a
   Persian page takes the sans, whose digits are Persian. */
.theme-industrial:lang(fa) .sb-chrome-cart-count {
  font-family: var(--app-font-sans);
}

/* The menu row: the page you are on is an ink tab, and hovering a row
   underlines it in the brand colour. Nothing is marked by its position — the
   operator's menu is theirs, and a filled first or last row read as «you are
   here» on every page. */
.theme-industrial .sb-chrome-header .sb-section:nth-child(3) {
  border-top: var(--ds-hair);
}

.theme-industrial .sb-chrome-header .sb-section:nth-child(3) .sb-section-inner {
  padding-block: 0;
}

.theme-industrial .sb-chrome-header .sb-chrome-menu-link {
  border-radius: 0;
  border-bottom: 3px solid transparent;
  padding: 0.75rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  transition: border-color 150ms;
}

.theme-industrial .sb-chrome-header .sb-chrome-menu-link:hover,
.theme-industrial .sb-chrome-header .sb-chrome-menu-link:focus-visible,
.theme-industrial .sb-chrome-header .sb-chrome-menu-link[aria-expanded='true'] {
  border-bottom-color: var(--brand-accent);
  background: transparent;
}

.theme-industrial .sb-chrome-header .sb-chrome-menu-link[aria-current='page'] {
  background: var(--chrome-ink);
  color: var(--chrome-ink-foreground);
  border-bottom-color: var(--brand-accent);
}

.theme-industrial .sb-chrome-mega-panel {
  border: var(--ds-rule);
  border-radius: 2px;
  box-shadow: 6px 6px 0 rgb(30 37 44 / 0.12);
}

.theme-industrial .sb-chrome-mega-title {
  font-family: var(--ds-display);
  border-bottom: 2px solid var(--brand-accent);
  padding-bottom: 0.25rem;
}

/* ── Buttons: a flat block, orange with ink on it ───────────────────────── */

.theme-industrial .sb-button {
  border-radius: 2px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 150ms, border-color 150ms, color 150ms;
}

.theme-industrial .sb-button:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 3px;
}

/* ── Bands ──────────────────────────────────────────────────────────────── */

/* A muted band is drafting paper: the 40px grid under whatever it holds. */
.theme-industrial .sb-section[data-sb-background='muted'] {
  background-color: var(--background);
  background-image:
    linear-gradient(var(--ds-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ds-grid) 1px, transparent 1px);
  background-size: 40px 40px;
  border-block: var(--ds-hair);
}

.theme-industrial .sb-section[data-sb-background='color'] .sb-stat-value {
  color: var(--ds-amber);
}

/* Section headings carry a ruler under them: ten-millimetre ticks. */
.theme-industrial .sb-section:not([data-sb-background='color']) h2.sb-heading::after {
  content: '';
  display: block;
  inline-size: 13.75rem;
  max-inline-size: 100%;
  block-size: 0.5rem;
  margin-block-start: 0.625rem;
  background: repeating-linear-gradient(90deg, var(--foreground) 0 1px, transparent 1px 10px);
  opacity: 0.35;
}

/* ── The slider: the photo darkened towards the words ───────────────────── */

.theme-industrial .sb-layer-slider {
  border-bottom: var(--ds-rule);
}

.theme-industrial .sb-layer-slider .sb-slider-dot {
  width: 1.75rem;
  height: 0.25rem;
  border-radius: 0;
}

/* A slide opens on its stamp: a code, in mono, in a hairline box. */
.theme-industrial .sb-layer-slider .sb-layer[data-sb-layer='text']:first-child .sb-layer-text {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border: 1px solid currentColor;
  font-family: var(--ds-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
  direction: ltr;
  unicode-bidi: isolate;
}

.theme-industrial .sb-layer[data-sb-layer='shape'] {
  border-radius: 0;
}

/* ── Cards: a hairline that goes to ink under the pointer ───────────────── */

.theme-industrial a.ui-glow-card[data-catalog-card] {
  background: var(--card);
  border: var(--ds-hair);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: none;
  transition: border-color 150ms;
}

.theme-industrial a.ui-glow-card[data-catalog-card]:hover {
  border-color: var(--foreground);
  transform: none;
}

.theme-industrial a.ui-glow-card[data-catalog-card] > div:first-child {
  border-bottom: var(--ds-hair);
  border-radius: 0;
  background: #f3f4f1;
}

.theme-industrial a.ui-glow-card[data-catalog-card]:hover h3 {
  color: var(--brand-accent);
}

/* The shelves: one ruled strip of cells, a drawing in each. */
.theme-industrial .sb-block[data-block='shop-category-stories'] a > span:first-child {
  padding: 0;
  border: var(--ds-hair);
  border-radius: 2px;
  overflow: hidden;
  background: #f3f4f1;
}

.theme-industrial .sb-block[data-block='shop-category-stories'] a > span:first-child > span {
  border: 0;
  border-radius: 0;
}

.theme-industrial .sb-block[data-block='shop-category-stories'] a > span:last-child {
  font-weight: 700;
  font-size: 0.8125rem;
}

.theme-industrial .sb-block[data-block='shop-category-stories'] a:hover > span:first-child {
  border-color: var(--brand-accent);
}

/* ── The ordering code, decoded: each segment a cell, every other one ink ─ */

/* Read left to right in every language, as the code is, in five cells. */
.theme-industrial #ordering-code .sb-features {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  direction: ltr;
  gap: 0.375rem;
}

.theme-industrial #ordering-code .sb-feature {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0.5rem;
  text-align: center;
}

.theme-industrial #ordering-code .sb-feature-icon {
  display: none;
}

.theme-industrial #ordering-code .sb-feature-title {
  box-sizing: border-box;
  inline-size: 100%;
  margin: 0;
  padding: 0.875rem 0.25rem;
  border: var(--ds-rule);
  background: var(--card);
  color: var(--foreground);
  font-family: var(--ds-mono);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.theme-industrial #ordering-code .sb-feature:nth-child(odd) .sb-feature-title {
  background: var(--foreground);
  color: var(--card);
}

.theme-industrial #ordering-code .sb-feature-text {
  inline-size: 100%;
  margin: 0;
  padding-top: 0.5rem;
  border-top: 2px solid var(--brand-accent);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.theme-industrial:lang(fa) #ordering-code .sb-feature-text {
  direction: rtl;
}

/* ── Boxes, steps and promises: ruled, with a square icon well ──────────── */

.theme-industrial .sb-icon-box {
  border-radius: 2px;
}

.theme-industrial .sb-icon-box[data-sb-background='card'] {
  border: var(--ds-hair);
}

.theme-industrial .sb-icon-box-icon {
  border: var(--ds-rule);
  border-radius: 0;
  background: transparent;
  color: var(--brand-accent);
}

.theme-industrial :is(.sb-features, .sb-accordion, .sb-alert, .sb-cta, .sb-form, .sb-testimonial) {
  border-radius: 2px;
}

.theme-industrial .sb-accordion {
  border: var(--ds-hair);
  background: var(--card);
}

.theme-industrial .sb-accordion-title {
  font-weight: 700;
}

.theme-industrial .sb-cta {
  border: var(--ds-rule);
}

.theme-industrial .sb-form {
  border: var(--ds-hair);
  background: var(--card);
}

.theme-industrial .sb-testimonial {
  border: var(--ds-hair);
  background: var(--card);
  box-shadow: none;
}

.theme-industrial .sb-stat-value {
  font-family: var(--ds-mono);
  font-weight: 700;
  direction: ltr;
  unicode-bidi: isolate;
}

.theme-industrial .sb-stat-label {
  font-size: 0.875rem;
}

.theme-industrial .sb-section[data-sb-background='color'] .sb-stat-label {
  color: var(--ds-chrome-muted);
}

/* Codes and the tables a datasheet is made of. */
.theme-industrial :is(.sb-text, .sb-accordion, .prose) code {
  font-family: var(--ds-mono);
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 0.92em;
  letter-spacing: 0.02em;
  color: var(--brand-accent);
  background: transparent;
}

.theme-industrial :is(.sb-text, .sb-accordion, .prose) code::before,
.theme-industrial :is(.sb-text, .sb-accordion, .prose) code::after {
  content: none;
}

.theme-industrial .sb-text table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 0.875rem;
}

.theme-industrial .sb-text :is(th, td) {
  border: var(--ds-hair);
  padding: 0.625rem 0.75rem;
  text-align: start;
  vertical-align: top;
}

.theme-industrial .sb-text th {
  background: var(--muted);
  font-weight: 700;
}

.theme-industrial .sb-image {
  width: 100%;
  max-width: none;
}

.theme-industrial .sb-image-img {
  width: 100%;
  border: var(--ds-hair);
  border-radius: 2px;
}

.theme-industrial .sb-post-link {
  border: var(--ds-hair);
  border-radius: 2px;
  transition: border-color 150ms;
}

.theme-industrial .sb-post-link:hover {
  border-color: var(--foreground);
}

.theme-industrial .sb-post-image {
  border-bottom: var(--ds-hair);
  border-radius: 0;
}

.theme-industrial .sb-brand {
  border: var(--ds-hair);
  border-radius: 2px;
  background: var(--card);
}

.theme-industrial .sb-brand:hover {
  border-color: var(--foreground);
}

/* ── The footer: a drawing's title block on ink ─────────────────────────── */

.theme-industrial .sb-chrome-footer {
  margin-top: 4rem;
  background: var(--ds-ink);
  color: #c9d1d8;
}

.theme-industrial .sb-chrome-footer a {
  color: inherit;
  transition: color 150ms;
}

.theme-industrial .sb-chrome-footer a:hover {
  color: var(--ds-amber);
}

.theme-industrial .sb-chrome-footer .sb-chrome-logo > span {
  color: #ffffff;
  font-size: 1.625rem;
}

/* The ruled cells: the first band is the block, the second its bottom row,
   drawn as one. */
.theme-industrial .sb-chrome-footer .sb-section:first-child {
  padding-bottom: 0;
}

.theme-industrial .sb-chrome-footer .sb-section:nth-child(2) {
  padding-top: 0;
  padding-bottom: 2rem;
}

.theme-industrial .sb-chrome-footer .sb-section:first-child .sb-section-inner {
  border: 1px solid var(--ds-chrome-line);
  margin-block-start: 1rem;
  gap: 0;
}

.theme-industrial .sb-chrome-footer .sb-section:nth-child(2) .sb-section-inner {
  border: 1px solid var(--ds-chrome-line);
  border-top: 0;
  gap: 0;
  font-family: var(--ds-mono);
  font-size: 0.75rem;
  color: var(--ds-chrome-label);
}

.theme-industrial .sb-chrome-footer .sb-section:is(:first-child, :nth-child(2)) .sb-column {
  padding: 1.25rem;
  border-inline-end: 1px solid var(--ds-chrome-line);
  align-self: stretch;
  justify-content: flex-start;
}

.theme-industrial .sb-chrome-footer .sb-section:nth-child(2) .sb-column {
  padding-block: 0.75rem;
  align-self: stretch;
  justify-content: center;
}

.theme-industrial .sb-chrome-footer .sb-section:is(:first-child, :nth-child(2)) .sb-column:last-child {
  border-inline-end: 0;
}

/* Each cell's label, as a title block prints it: small mono capitals. The
   labels are the drawing's, in its own language, on every page. */
.theme-industrial .sb-chrome-footer .sb-section:first-child .sb-column::before {
  display: block;
  margin-block-end: 0.625rem;
  direction: ltr;
  text-align: start;
  font: 600 0.6875rem/1 var(--ds-mono);
  letter-spacing: 0.08em;
  color: var(--ds-chrome-label);
}

.theme-industrial:lang(fa) .sb-chrome-footer .sb-section:first-child .sb-column::before {
  text-align: right;
}

.theme-industrial .sb-chrome-footer .sb-section:first-child .sb-column:nth-child(1)::before { content: 'TITLE'; }
.theme-industrial .sb-chrome-footer .sb-section:first-child .sb-column:nth-child(2)::before { content: 'CATALOGUE'; }
.theme-industrial .sb-chrome-footer .sb-section:first-child .sb-column:nth-child(3)::before { content: 'CONTACT'; }
.theme-industrial .sb-chrome-footer .sb-section:first-child .sb-column:nth-child(4)::before { content: 'CERTIFIED'; }

/* A cell whose blocks have nothing to show (a site with no contact details or
   seals yet) is left out, not drawn as a label over an empty box. */
.theme-industrial .sb-chrome-footer .sb-section:first-child .sb-column:not(:has(.sb-block:not(:empty))) {
  display: none;
}

.theme-industrial .sb-chrome-footer .sb-section:nth-child(2) .sb-column:last-child {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.theme-industrial .sb-chrome-footer .sb-section:nth-child(2) .sb-column:last-child::after {
  content: 'SHEET 1/1 · SCALE 1:1';
  direction: ltr;
  letter-spacing: 0.06em;
}

.theme-industrial .sb-chrome-footer nav.sb-chrome-menu > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.375rem 1rem;
}

.theme-industrial .sb-chrome-footer .sb-chrome-contact {
  font-size: 0.875rem;
}

.theme-industrial .sb-chrome-copyright {
  color: var(--ds-chrome-label);
}

@media (max-width: 47.99rem) {
  .theme-industrial .sb-chrome-header .sb-section:first-child {
    font-size: 0.75rem;
  }

  .theme-industrial .sb-chrome-logo > span {
    font-size: 1.375rem;
  }

  .theme-industrial .sb-chrome-logo img {
    height: 2.25rem;
  }

  .theme-industrial .sb-chrome-header :is(a.sb-chrome-search, button.sb-chrome-search, .sb-chrome-cart, .sb-chrome-account, .sb-chrome-theme, button.sb-chrome-locale) {
    min-width: 2.375rem;
    height: 2.375rem;
  }

  .theme-industrial #ordering-code .sb-features {
    gap: 0.25rem;
  }

  .theme-industrial #ordering-code .sb-feature-title {
    font-size: 1.25rem;
    padding: 0.625rem 0.125rem;
  }

  .theme-industrial #ordering-code .sb-feature-text {
    font-size: 0.6875rem;
  }

  /* Six makers' logos in a row are too small to read on a phone. */
  .theme-industrial .sb-brands {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .theme-industrial .sb-chrome-footer .sb-section:is(:first-child, :nth-child(2)) .sb-column {
    border-inline-end: 0;
    border-bottom: 1px solid var(--ds-chrome-line);
  }

  .theme-industrial .sb-chrome-footer .sb-section:is(:first-child, :nth-child(2)) .sb-column:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-industrial *,
  .theme-industrial *::before,
  .theme-industrial *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
