/*
 * `tat-sanat` (was `fulad`) — the Tat Sanat demo's theme (Technology Automation Tehran, drawn
 * from its own mark). Fetched, not compiled.
 *
 * Subject and visitor: a B2B supplier of pneumatic, hydraulic and
 * instrumentation parts on Lalezar, Tehran; plant engineers, maintenance
 * leads and buyers who arrive with a part name or a model code and want a
 * price, stock and a pro-forma.
 * Tone: bold industrial — plant photography under deep navy, heavy display
 * type, saturated bands of the brand's blue and signal yellow, machined
 * (chamfered) corners.
 * The detail only this subject has: the mark's pixel squares breaking off the
 * crescent — automation. A yellow square stands before every heading, small
 * squares drift across the navy bands and the footer, and the doors, the
 * call bands and the hero picture lose one corner at 45°, like a part off
 * the mill.
 *
 * Paper and steel by day, plant navy at night. Radius 3px, hairlines rather
 * than shadows, yellow buttons with navy ink (never white on yellow), display
 * type in Estedad Black through the app's display face. Not `tat` (the
 * WooDMart palette) and not `datasheet` (graphite and orange): navy and
 * yellow, and the chamfer. Never letter-spaced, never italic.
 *
 * Plain CSS, copied to `public/themes/tat-sanat.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-tat-sanat {
  --theme-font-display: 'EstedadFD';
  --background: #ffffff;
  --foreground: #14202e;
  --card: #ffffff;
  --card-foreground: #14202e;
  --popover: #ffffff;
  --popover-foreground: #14202e;
  --primary: #0d67b2;
  --primary-foreground: #ffffff;
  --secondary: #eef2f6;
  --secondary-foreground: #14202e;
  --muted: #eef2f6;
  --muted-foreground: #5b6b7c;
  --accent: #e7f0f9;
  --accent-foreground: #0a528f;
  --destructive: #c23b2b;
  --destructive-foreground: #ffffff;
  --border: #d8e0e8;
  --input: #cbd5df;
  --ring: #0d67b2;

  --primary-50: #edf5fc;
  --primary-100: #d5e7f7;
  --primary-200: #abd0ef;
  --primary-300: #77b2e3;
  --primary-400: #3b8ed3;
  --primary-500: #1677c4;
  --primary-600: #0d67b2;
  --primary-700: #0a528f;
  --primary-800: #0a4373;
  --primary-900: #0b375d;
  --primary-950: #07223b;

  /* The yellow does the calling, always with navy ink: white on it fails. */
  --brand-accent: var(--brand-secondary, #ffcb06);
  --brand-accent-foreground: var(--brand-secondary-foreground, #0a2540);
  /* Plant navy: the chrome and the dark bands. Not a brand colour, so an
     owner's own pair still reads against it. */
  --chrome-ink: #0a2540;
  --chrome-ink-foreground: #eef4fa;

  --surface-page: #ffffff;
  --surface-alt: #eef2f6;
  --surface-input: #ffffff;
  --surface-panel: #f5f8fb;
  --ink-secondary: #5b6b7c;

  --radius-step-sm: 3px;
  --radius-step-md: 3px;
  --radius-step-lg: 4px;
  --radius-step-xl: 6px;

  --fu-display: var(--app-font-display);
  --fu-blue: var(--brand-primary, #0d67b2);
  --fu-blue-deep: oklch(from var(--brand-primary, #0d67b2) calc(l - 0.08) c h);
  --fu-yellow: var(--brand-secondary, #ffcb06);
  --fu-yellow-ink: var(--brand-secondary-foreground, #0a2540);
  --fu-navy: #0a2540;
  --fu-navy-2: #0f3157;
  --fu-on-navy: #eef4fa;
  --fu-chamfer: 22px;
  /* The pixels off the crescent, as a pattern for the navy bands. */
  --fu-pixels: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Crect x='14' y='18' width='9' height='9' fill='%23FFCB06' fill-opacity='.26'/%3E%3Crect x='30' y='8' width='6' height='6' fill='%23FFCB06' fill-opacity='.16'/%3E%3Crect x='76' y='62' width='7' height='7' fill='%23ffffff' fill-opacity='.09'/%3E%3Crect x='92' y='84' width='10' height='10' fill='%23FFCB06' fill-opacity='.13'/%3E%3Crect x='48' y='96' width='5' height='5' fill='%23ffffff' fill-opacity='.1'/%3E%3C/svg%3E");
  --fu-cut-end: polygon(0 0, 100% 0, 100% calc(100% - var(--fu-chamfer)), calc(100% - var(--fu-chamfer)) 100%, 0 100%);
  --fu-cut-start: polygon(0 0, 100% 0, 100% 100%, var(--fu-chamfer) 100%, 0 calc(100% - var(--fu-chamfer)));

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not(.light).theme-tat-sanat {
    --background: #0b1622;
    --foreground: #e8eef5;
    --card: #10202f;
    --card-foreground: #e8eef5;
    --popover: #10202f;
    --popover-foreground: #e8eef5;
    --primary: #3b8ed3;
    --primary-foreground: #06111d;
    --secondary: #13263a;
    --secondary-foreground: #e8eef5;
    --muted: #12233a;
    --muted-foreground: #9ab0c4;
    --accent: #14304d;
    --accent-foreground: #abd0ef;
    --border: #1e3248;
    --input: #26405b;
    --ring: #3b8ed3;
    --surface-page: #0b1622;
    --surface-alt: #101f30;
    --surface-input: #10202f;
    --surface-panel: #13263a;
    --ink-secondary: #9ab0c4;
    --chrome-ink: #06111d;
    --fu-navy: #06111d;
    --fu-navy-2: #0b1b2c;
    --fu-blue: oklch(from var(--brand-primary, #0d67b2) calc(l + 0.12) c h);

    color-scheme: dark;
  }
}

/* Same palette as the media query above — change both. */
:root.dark.theme-tat-sanat {
  --background: #0b1622;
  --foreground: #e8eef5;
  --card: #10202f;
  --card-foreground: #e8eef5;
  --popover: #10202f;
  --popover-foreground: #e8eef5;
  --primary: #3b8ed3;
  --primary-foreground: #06111d;
  --secondary: #13263a;
  --secondary-foreground: #e8eef5;
  --muted: #12233a;
  --muted-foreground: #9ab0c4;
  --accent: #14304d;
  --accent-foreground: #abd0ef;
  --border: #1e3248;
  --input: #26405b;
  --ring: #3b8ed3;
  --surface-page: #0b1622;
  --surface-alt: #101f30;
  --surface-input: #10202f;
  --surface-panel: #13263a;
  --ink-secondary: #9ab0c4;
  --chrome-ink: #06111d;
  --fu-navy: #06111d;
  --fu-navy-2: #0b1b2c;
  --fu-blue: oklch(from var(--brand-primary, #0d67b2) calc(l + 0.12) c h);

  color-scheme: dark;
}

.theme-tat-sanat body {
  background: var(--background);
  color: var(--foreground);
}

/* ── Type: Estedad Black, a yellow square before every heading ──────── */

.theme-tat-sanat :is(h1, h2, h3, .sb-heading, .sb-cta-title, .sb-layer[data-sb-layer='heading'] .sb-layer-text) {
  font-family: var(--fu-display);
  font-weight: 900;
  line-height: 1.4;
  text-wrap: balance;
}

.theme-tat-sanat .sb-block[data-block='heading'] h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.3;
}

.theme-tat-sanat .sb-block[data-block='heading'] h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
}

.theme-tat-sanat .sb-block[data-block='heading'] h2::before {
  content: '';
  display: inline-block;
  inline-size: 0.55em;
  block-size: 0.55em;
  margin-inline-end: 0.5em;
  vertical-align: 0.1em;
  background: var(--fu-yellow);
}

.theme-tat-sanat .sb-block[data-block='heading'] h3 {
  font-size: 1.375rem;
}

/* The eyebrow over a title: yellow, small, bold. */
.theme-tat-sanat .sb-text[data-sb-tone='primary'] p {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--fu-blue);
}

.theme-tat-sanat .sb-section[data-sb-background='color'] .sb-text[data-sb-tone='primary'] p,
.theme-tat-sanat .sb-section[data-sb-background='image'] .sb-text[data-sb-tone='primary'] p {
  color: var(--fu-yellow);
}

/* ── The header: a navy contact bar, then one white row ─────────────────── */

.theme-tat-sanat .sb-chrome-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--background);
  box-shadow: 0 1px 0 var(--border), 0 6px 18px rgb(10 37 64 / 0.06);
}

.theme-tat-sanat .sb-chrome-header .sb-section:first-child {
  background: var(--fu-navy);
  color: color-mix(in srgb, var(--fu-on-navy) 88%, transparent);
  font-size: 0.8125rem;
}

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

.theme-tat-sanat .sb-chrome-header .sb-section:first-child .sb-column:last-child {
  justify-content: flex-end;
}

.theme-tat-sanat .sb-chrome-header .sb-section:first-child :is(a, svg):not(.sb-button, .sb-button *, [role='menu'] *) {
  color: inherit;
}

.theme-tat-sanat .sb-chrome-header .sb-section:first-child a:not(.sb-button, [role='menu'] *):hover {
  color: var(--fu-yellow);
}

.theme-tat-sanat .sb-chrome-header .sb-section:first-child .sb-button {
  min-height: 1.75rem;
  padding-block: 0.125rem;
  font-size: 0.75rem;
}

.theme-tat-sanat .sb-chrome-header .sb-chrome-contact {
  flex-wrap: nowrap;
}

/* The language is a flag on the navy bar, sized to the quote button beside it. */
.theme-tat-sanat .sb-chrome-header .sb-section:first-child button.sb-chrome-locale {
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 3px;
  background: transparent;
  transition: border-color 200ms;
}

.theme-tat-sanat .sb-chrome-header .sb-section:first-child button.sb-chrome-locale:hover,
.theme-tat-sanat .sb-chrome-header .sb-section:first-child button.sb-chrome-locale[aria-expanded='true'] {
  border-color: var(--fu-yellow);
}

.theme-tat-sanat .sb-chrome-header div.sb-chrome-locale > a {
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 3px;
  padding: 0 0.5rem;
}

.theme-tat-sanat .sb-chrome-header div.sb-chrome-locale > a[aria-current='true'] {
  border-color: var(--fu-yellow);
  background: var(--fu-yellow);
  color: var(--fu-yellow-ink);
}

.theme-tat-sanat .sb-chrome-header .sb-column {
  align-self: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.theme-tat-sanat .sb-chrome-header .sb-section:nth-child(2) .sb-section-inner {
  min-height: 4.5rem;
  align-items: center;
}

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

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

.theme-tat-sanat .sb-chrome-header :is(a.sb-chrome-search, button.sb-chrome-search, .sb-chrome-account, .sb-chrome-theme, .sb-chrome-menu-toggle) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  color: var(--foreground);
  transition: background-color 150ms, color 150ms;
}

.theme-tat-sanat .sb-chrome-header :is(a.sb-chrome-search, button.sb-chrome-search, .sb-chrome-account, .sb-chrome-theme, .sb-chrome-menu-toggle):hover {
  background: var(--surface-alt);
  color: var(--fu-blue);
}

/* The menu's own trigger is a phone's control; a wide page shows the row. */
@container sb-page (width >= 768px) {
  .theme-tat-sanat .sb-chrome-header .sb-chrome-menu > button {
    display: none;
  }
}

/* The basket: a navy disc with a yellow count. */
.theme-tat-sanat .sb-chrome-header .sb-chrome-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--fu-navy);
  color: var(--fu-on-navy);
  transition: background-color 150ms;
}

.theme-tat-sanat .sb-chrome-header .sb-chrome-cart:hover {
  background: var(--fu-blue);
}

.theme-tat-sanat .sb-chrome-cart-count {
  background: var(--fu-yellow);
  color: var(--fu-yellow-ink);
  font-weight: 700;
}

.theme-tat-sanat .sb-chrome-header :is(a, button):focus-visible {
  outline: 3px solid var(--fu-yellow);
  outline-offset: 2px;
}

/* The menu: a yellow rule under the open or current item. */
.theme-tat-sanat .sb-chrome-header .sb-chrome-menu > ul {
  gap: 0.25rem;
}

.theme-tat-sanat .sb-chrome-header .sb-chrome-menu-link {
  position: relative;
  padding: 0.625rem 0.75rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 150ms;
}

.theme-tat-sanat .sb-chrome-header .sb-chrome-menu-link::after {
  content: '';
  position: absolute;
  inset-inline: 0.75rem;
  bottom: 0;
  block-size: 3px;
  background: var(--fu-yellow);
  scale: 0 1;
  transition: scale 200ms;
}

.theme-tat-sanat .sb-chrome-header .sb-chrome-menu-link:hover,
.theme-tat-sanat .sb-chrome-header .sb-chrome-menu-link:focus-visible,
.theme-tat-sanat .sb-chrome-header .sb-chrome-menu-link[aria-expanded='true'],
.theme-tat-sanat .sb-chrome-header .sb-chrome-menu-link[aria-current='page'] {
  color: var(--fu-blue);
}

.theme-tat-sanat .sb-chrome-header .sb-chrome-menu-link:hover::after,
.theme-tat-sanat .sb-chrome-header .sb-chrome-menu-link[aria-expanded='true']::after,
.theme-tat-sanat .sb-chrome-header .sb-chrome-menu-link[aria-current='page']::after {
  scale: 1 1;
}

.theme-tat-sanat .sb-chrome-mega-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--fu-yellow);
  border-radius: 0 0 var(--radius-step-lg) var(--radius-step-lg);
  box-shadow: 0 24px 48px rgb(10 37 64 / 0.16);
}

/* ── Buttons: yellow with navy ink; outline in the band's own ink ───────── */

.theme-tat-sanat .sb-button {
  border: 1.5px solid var(--fu-yellow);
  border-radius: var(--radius-step-sm);
  background: var(--fu-yellow);
  color: var(--fu-yellow-ink);
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 150ms, color 150ms, border-color 150ms;
}

.theme-tat-sanat .sb-button:hover {
  background: oklch(from var(--fu-yellow) calc(l - 0.06) c h);
  border-color: oklch(from var(--fu-yellow) calc(l - 0.06) c h);
  color: var(--fu-yellow-ink);
}

.theme-tat-sanat .sb-button[data-sb-variant='outline'] {
  background: transparent;
  border-color: currentcolor;
  color: inherit;
}

.theme-tat-sanat .sb-button[data-sb-variant='ghost'] {
  background: transparent;
  border-color: transparent;
  color: var(--fu-blue);
}

.theme-tat-sanat .sb-button[data-sb-variant='outline']:hover,
.theme-tat-sanat .sb-button[data-sb-variant='ghost']:hover {
  background: var(--fu-yellow);
  border-color: var(--fu-yellow);
  color: var(--fu-yellow-ink);
}

.theme-tat-sanat .sb-button:focus-visible {
  outline: 3px solid var(--fu-blue);
  outline-offset: 2px;
}

.theme-tat-sanat .sb-button:active {
  transform: translateY(1px);
}

/* ── Bands: steel, colour (navy or yellow, with the pixels), photograph ── */

.theme-tat-sanat .sb-section[data-sb-background='muted'] {
  background-color: var(--surface-alt);
}

.theme-tat-sanat .sb-section[data-sb-background='color'] {
  --foreground: currentcolor;
  --muted-foreground: color-mix(in srgb, currentcolor 75%, transparent);
  --card-foreground: currentcolor;
  --border: color-mix(in srgb, currentcolor 18%, transparent);
  background-image: var(--fu-pixels);
}

.theme-tat-sanat :is(.sb-section[data-sb-background='color'], .sb-section[data-sb-overlay='dark']) .sb-text:not([data-sb-tone='custom']) {
  --tw-prose-body: currentcolor;
  --tw-prose-headings: currentcolor;
  --tw-prose-bold: currentcolor;
  --tw-prose-links: currentcolor;
  color: inherit;
}

/* A muted line on navy or on a darkened photo stays legible: dimmed, not grey. */
.theme-tat-sanat :is(.sb-section[data-sb-background='color'], .sb-section[data-sb-overlay='dark']) .sb-text[data-sb-tone='muted'] {
  color: color-mix(in srgb, currentcolor 82%, transparent);
}

.theme-tat-sanat :is(.sb-section[data-sb-background='color'], .sb-section[data-sb-overlay='dark']) :is(h1, h2, h3) {
  color: inherit;
}

.theme-tat-sanat .sb-section[data-sb-background='image'][data-sb-overlay='dark']::before {
  background: linear-gradient(270deg, rgb(10 37 64 / 0.94) 0%, rgb(10 37 64 / 0.74) 45%, rgb(10 37 64 / 0.35) 100%);
}

:root.theme-tat-sanat[dir='ltr'] .sb-section[data-sb-background='image'][data-sb-overlay='dark']::before {
  background: linear-gradient(90deg, rgb(10 37 64 / 0.94) 0%, rgb(10 37 64 / 0.74) 45%, rgb(10 37 64 / 0.35) 100%);
}

/* A column on a card, cut at one corner like a machined part. */
.theme-tat-sanat .sb-column[data-sb-background='card'] {
  border-color: var(--border);
  background: var(--card);
  clip-path: var(--fu-cut-end);
  transition: border-color 200ms;
}

:root.theme-tat-sanat[dir='rtl'] .sb-column[data-sb-background='card'] {
  clip-path: var(--fu-cut-start);
}

.theme-tat-sanat .sb-stat-value {
  font-family: var(--fu-display);
  font-weight: 900;
  color: var(--fu-blue);
  font-variant-numeric: tabular-nums;
}

.theme-tat-sanat .sb-section[data-sb-background='color'] .sb-stat-value {
  color: var(--fu-yellow);
}

/* ── The slider: words over the plant, a yellow bar for the current slide ── */

.theme-tat-sanat .sb-layer-slider .sb-slider-dot {
  border-radius: 0;
}

.theme-tat-sanat .sb-layer-slider .sb-slider-dot[aria-current='true'],
.theme-tat-sanat .sb-layer-slider .sb-slider-dot[aria-selected='true'] {
  background: var(--fu-yellow);
  inline-size: 2rem;
}

/* ── Image boxes: the doors, a photograph cut at one corner ─────────────── */

.theme-tat-sanat .sb-image-box {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-step-lg);
  background: var(--card);
  overflow: hidden;
  transition: border-color 200ms;
}

.theme-tat-sanat .sb-image-box-figure {
  display: block;
  inline-size: 100%;
}

.theme-tat-sanat .sb-image-box img {
  inline-size: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}

.theme-tat-sanat a .sb-image-box,
.theme-tat-sanat a.sb-image-box {
  border: 0;
  background: var(--fu-navy);
  color: var(--fu-on-navy);
  clip-path: var(--fu-cut-end);
}

:root.theme-tat-sanat[dir='rtl'] a .sb-image-box,
:root.theme-tat-sanat[dir='rtl'] a.sb-image-box {
  clip-path: var(--fu-cut-start);
}

.theme-tat-sanat a .sb-image-box img,
.theme-tat-sanat a.sb-image-box img {
  transition: transform 500ms ease, opacity 200ms;
  opacity: 0.88;
}

.theme-tat-sanat a:hover > .sb-image-box img,
.theme-tat-sanat a.sb-image-box:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.theme-tat-sanat .sb-image-box-body {
  display: block;
  padding: 1rem 1.25rem 1.25rem;
}

.theme-tat-sanat a .sb-image-box-body::before,
.theme-tat-sanat a.sb-image-box .sb-image-box-body::before {
  content: '';
  display: block;
  inline-size: 2rem;
  block-size: 0.375rem;
  margin-bottom: 0.75rem;
  background: var(--fu-yellow);
}

.theme-tat-sanat .sb-image-box-title {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--fu-display);
  font-size: 1.25rem;
  font-weight: 900;
}

.theme-tat-sanat .sb-image-box-text {
  display: block;
  color: var(--muted-foreground);
  font-size: 0.8125rem;
}

.theme-tat-sanat a .sb-image-box-text,
.theme-tat-sanat a.sb-image-box .sb-image-box-text {
  color: color-mix(in srgb, var(--fu-on-navy) 78%, transparent);
}

/* A shelf (an inline box that links): the part on white, the name beside it. */
.theme-tat-sanat a .sb-image-box[data-sb-layout='inline'],
.theme-tat-sanat a.sb-image-box[data-sb-layout='inline'] {
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  clip-path: none;
}

.theme-tat-sanat .sb-image-box[data-sb-layout='inline'] img {
  inline-size: 4.5rem;
  aspect-ratio: 1;
  object-fit: contain;
  background: #ffffff;
  opacity: 1;
}

.theme-tat-sanat a:hover > .sb-image-box[data-sb-layout='inline'],
.theme-tat-sanat a.sb-image-box[data-sb-layout='inline']:hover {
  border-color: var(--fu-blue);
}

.theme-tat-sanat .sb-image-box[data-sb-layout='inline'] .sb-image-box-body::before {
  display: none;
}

.theme-tat-sanat .sb-image-box[data-sb-layout='inline'] .sb-image-box-title {
  font-family: var(--app-font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
}

.theme-tat-sanat .sb-image-img {
  border-radius: var(--radius-step-lg);
}

/* ── Cards: the part on white in a square, a blue edge on hover ─────────── */

.theme-tat-sanat a.ui-glow-card[data-catalog-card] {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-step-lg);
  box-shadow: none;
  overflow: hidden;
  transition: border-color 200ms, box-shadow 200ms;
}

.theme-tat-sanat a.ui-glow-card[data-catalog-card] > div:first-child {
  border-radius: 0;
  background: #ffffff;
}

.theme-tat-sanat a.ui-glow-card[data-catalog-card]:hover {
  border-color: var(--fu-blue);
  box-shadow: 0 10px 24px rgb(10 37 64 / 0.1);
}

.theme-tat-sanat a.ui-glow-card[data-catalog-card] h3 {
  font-family: var(--app-font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.7;
}

.theme-tat-sanat a.ui-glow-card[data-catalog-card]:hover h3 {
  color: var(--fu-blue);
}

.theme-tat-sanat a.ui-glow-card[data-catalog-card]:focus-visible {
  outline: 3px solid var(--fu-yellow);
  outline-offset: 3px;
}

.theme-tat-sanat .sb-block[data-block='products-tabs'] button {
  border-radius: 999px;
}

.theme-tat-sanat .sb-block[data-block='flash-sale'] {
  padding: 1.75rem;
  background: var(--fu-navy);
  background-image: var(--fu-pixels);
  color: var(--fu-on-navy);
  clip-path: var(--fu-cut-end);
}

.theme-tat-sanat .sb-brand {
  border: 1px solid var(--border);
  border-radius: var(--radius-step-lg);
  background: #ffffff;
  transition: border-color 200ms;
}

.theme-tat-sanat .sb-brand:hover {
  border-color: var(--fu-blue);
}

/* ── The spec sheet: hairlines, the label in the secondary ink ──────────── */

.theme-tat-sanat dl:not(.sb-stats):has(> div > dt) > div {
  border-bottom: 1px solid var(--border);
}

.theme-tat-sanat dl:not(.sb-stats):has(> div > dt) dt {
  color: var(--ink-secondary);
}

.theme-tat-sanat dl:not(.sb-stats):has(> div > dt) dd {
  color: var(--foreground);
  font-weight: 600;
}

/* ── Content blocks ─────────────────────────────────────────────────────── */

.theme-tat-sanat .sb-post-link {
  border-radius: var(--radius-step-lg);
}

.theme-tat-sanat .sb-post-link:hover h3 {
  color: var(--fu-blue);
}

.theme-tat-sanat .sb-post-image {
  border-radius: var(--radius-step-lg);
}

.theme-tat-sanat .sb-post-eyebrow {
  color: var(--fu-blue);
  font-weight: 700;
}

.theme-tat-sanat :is(.sb-icon-box, .sb-feature-list, .sb-accordion, .sb-alert, .sb-form, .sb-pricing-card) {
  border-radius: var(--radius-step-lg);
}

.theme-tat-sanat .sb-icon-box {
  border-color: var(--border);
}

.theme-tat-sanat :is(.sb-icon-box, .sb-feature-list) :is(svg, .sb-icon-box-icon) {
  color: var(--fu-yellow);
}

.theme-tat-sanat .sb-icon-box-icon {
  display: inline-grid;
  place-items: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  background: var(--fu-navy);
  border-radius: 0;
}

.theme-tat-sanat .sb-accordion-item {
  border-color: var(--border);
}

.theme-tat-sanat .sb-accordion-item[open] .sb-accordion-title,
.theme-tat-sanat .sb-accordion-item:has([aria-expanded='true']) .sb-accordion-title {
  color: var(--fu-blue);
}

.theme-tat-sanat .sb-cta {
  border: 0;
  border-radius: 0;
  clip-path: var(--fu-cut-end);
}

:root.theme-tat-sanat[dir='rtl'] .sb-cta {
  clip-path: var(--fu-cut-start);
}

.theme-tat-sanat .sb-alert {
  border-inline-start: 4px solid var(--fu-yellow);
}

.theme-tat-sanat :is(input, textarea, select) {
  border-color: var(--input);
  border-radius: var(--radius-step-sm);
  background: var(--surface-input);
  color: var(--foreground);
}

.theme-tat-sanat :is(input, textarea, select):focus-visible {
  outline: 2px solid var(--fu-blue);
  outline-offset: 1px;
}

/* ── The footer: plant navy, the pixels, a yellow edge ──────────────────── */

.theme-tat-sanat .sb-chrome-footer {
  margin-top: 3rem;
  background-color: var(--fu-navy);
  background-image: var(--fu-pixels);
  color: color-mix(in srgb, var(--fu-on-navy) 80%, transparent);
  border-top: 4px solid var(--fu-yellow);
}

.theme-tat-sanat .sb-chrome-footer :is(h2, h3, h4, .sb-heading) {
  color: var(--fu-on-navy);
}

.theme-tat-sanat .sb-chrome-footer .sb-chrome-logo img {
  height: 2.75rem;
  border-radius: var(--radius-step-sm);
  background: #ffffff;
  padding: 0.375rem 0.5rem;
}

.theme-tat-sanat .sb-chrome-footer .sb-section:last-child {
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.8125rem;
}

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

.theme-tat-sanat .sb-chrome-footer a:hover {
  color: var(--fu-yellow);
}

.theme-tat-sanat .sb-chrome-footer .sb-cta {
  color: var(--fu-yellow-ink);
}

/* On the footer's yellow call the button is the navy, or it disappears. */
.theme-tat-sanat .sb-chrome-footer .sb-cta .sb-button {
  border-color: var(--fu-navy);
  background: var(--fu-navy);
  color: var(--fu-on-navy);
}

.theme-tat-sanat .sb-chrome-footer .sb-cta .sb-button:hover {
  border-color: var(--fu-blue);
  background: var(--fu-blue);
  color: #ffffff;
}

@media (max-width: 47.99rem) {
  .theme-tat-sanat .sb-chrome-logo img {
    height: 2.25rem;
  }

  .theme-tat-sanat .sb-block[data-block='flash-sale'] {
    padding: 1rem;
  }

  .theme-tat-sanat .sb-brands {
    --sb-cols: 3 !important;
  }
}

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

  .theme-tat-sanat a:hover > .sb-image-box img,
  .theme-tat-sanat a.sb-image-box:hover img {
    transform: none;
  }
}
