@font-face {
  font-family: Ravi;
  src: url('assets/Ravi-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Ravi;
  src: url('assets/Ravi-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

html[lang=fa] body {
  font-family: IRANYekanX, sans-serif;
  font-weight: 400;
}

html[lang=fa] :is(h1, h2, h3, h4) {
  font-family: Ravi, IRANYekanX, sans-serif;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
  font-synthesis: none;
  overflow-wrap: break-word;
}

html[lang=fa] :is(.cinema-hero h1, .page-intro h1) {
  font-size: clamp(2.125rem, 5vw, 4.25rem);
  line-height: 1.18;
}
html[lang=fa] .product-summary h1 {
  font-size: clamp(1.875rem, 3.85vw, 3.25rem);
}
html[lang=fa] :is(.surface-copy h2, .surface-copy h3, .inside-label h2) {
  font-size: clamp(2rem, 4.2vw, 3.75rem);
}
html[lang=fa] .surface-copy :is(h2, h3) { max-inline-size: 25rem; }

html[lang=fa] :is(.nav-inner, .button, .text-link, .viewer-hint, .view-controls button, .viewer-note, .cinema-bottom, .cinema-skip) {
  font-family: IRANYekanX, sans-serif;
}
html[lang=fa] :is(.eyebrow, .cinema-label .eyebrow, .detail-copy .eyebrow) { letter-spacing: 0; }
html[lang=fa] :is(.intro-section .lead, .about-copy > p:not(.eyebrow)) {
  font-weight: 400;
  font-size: clamp(1.0625rem, 1.7vw, 1.3125rem);
}
html[lang=fa] :is(.category-tile, .category-tile.filter-chip, .related-grid a, .contact-aside, .detail-choice, .studio-caption, .site-footer) {
  text-align: start;
}

html[lang=fa] .hero-proof span:first-child { padding-inline: 0 15px; }
html[lang=fa] .proof-band > div:first-child { padding-inline: 0 28px; }
html[lang=fa] .breadcrumbs span::before { padding: 0 0 0 12px; }
html[lang=fa] :is(.reading-width ul, .spec-table .small-list) {
  padding-left: 0;
  padding-inline-start: 1.35em;
}

html[lang=fa] :is(.field select, .explorer-panel select) {
  direction: rtl;
  background-position: left 16px center;
}
html[lang=fa] .field select { padding: 12px 14px 12px 40px; }
html[lang=fa] input:is([type='email'], [type='tel']) { direction: ltr; }
html[lang=fa] input:is([type='email'], [type='tel']):placeholder-shown { text-align: right; }
html[lang=fa] .faq-list summary { padding: 0 0 0 25px; }

html[lang=fa] :is(.spec-table, .compare-dialog table) {
  direction: rtl;
  white-space: normal;
}
html[lang=fa] :is(caption, th, td) { text-align: start; }
html[lang=fa] .spec-grid dd { text-align: end; }
html[lang=fa] .config-facts dd { direction: inherit; text-align: end; }
html[lang=fa] :is(.stats strong, .dimension-overlay, .about-year strong, .range-size) {
  direction: ltr;
  unicode-bidi: isolate;
}
html[lang=fa] .about-year strong { display: inline-block; }
html[lang=fa] :is(a[href^='tel:'], a[href^='mailto:']) {
  direction: ltr;
  text-align: right;
  unicode-bidi: isolate;
}

html[lang=fa] :is(.download-band, .download-band .resource-card, .availability-note, .related-grid a, .technical-notes article, .resource-card, .cta-panel, .mini-timeline, .palette-list span) {
  border-left-width: var(--rtl-opposite-rule-width, 0);
  border-inline-start: var(--rtl-rule-width, 3px) solid var(--rtl-rule-color, var(--red));
}
html[lang=fa] :is(.download-band, .resource-card, .cta-panel, .palette-list span) { --rtl-rule-width: 4px; }
html[lang=fa] .download-band .resource-card { --rtl-rule-width: 3px; }
html[lang=fa] :is(.download-band, .resource-card, .related-grid a) { --rtl-opposite-rule-width: 1px; }
html[lang=fa] :is(.availability-note, .related-grid a, .palette-list span) { --rtl-rule-color: var(--category, var(--red)); }
html[lang=fa] .mini-timeline {
  --rtl-rule-width: 1px;
  --rtl-rule-color: var(--line);
  padding-left: 0;
  padding-inline-start: 35px;
}
html[lang=fa] .mini-timeline::after { left: auto; inset-inline-start: -1px; }
html[lang=fa] .detail-block::after { left: auto; inset-inline-start: 0; transform-origin: right; }
html[lang=fa] .installation-copy { padding-inline: min(4vw, 48px) 0; }

html[lang=fa] .cinema-label:not(.inside-label) {
  left: auto;
  inset-inline-start: max(30px, calc((100vw - 1180px) / 2));
}
html[lang=fa] .detail-copy p { margin-inline: 0 auto; }
/* The photography is composed with space for controls on the left. */
html[lang=fa] .detail-choices { align-self: flex-end; }
html[lang=fa] .detail-view-caption { text-align: start; }
html[lang=fa] .studio-zoom-label { right: auto; inset-inline-end: 13px; }
html[lang=fa] .detail-option-text p { padding-inline: 44px 12px; }
html[lang=fa] .detail-choice { padding-inline: 8px 13px; }
html[lang=fa] :is(.studio-arrows, .studio-dialog-controls, .detail-step, .workflow-controls .button) .site-icon {
  transform: scaleX(-1);
}
html[lang=fa] .view-controls { direction: ltr; }
html[lang=fa] .product-detail-visual { margin-inline: 0; }
html[lang=fa] .feature-list li { padding-inline: 23px 0; }
html[lang=fa] .feature-list li::before { left: auto; inset-inline-start: 0; }

@media (max-width: 800px) {
  html[lang=fa] .installation-copy { padding: 0; }
  html[lang=fa] .hero-proof span:first-child { padding-inline-end: 11px; }
  html[lang=fa] .proof-band > div:first-child { padding-inline-end: 0; }
  html[lang=fa] .cinema-label:not(.inside-label) { inset-inline-start: 24px; }
}
@media (max-width: 760px) {
  html[lang=fa] :is(.cinema-hero h1, .page-intro h1) { font-size: clamp(2rem, 8.55vw, 2.65rem); }
  html[lang=fa] .viewer-wrap .view-controls button { font-size: 11px; }
  html[lang=fa] .product-detail-top { padding-block-start: 0; }
  html[lang=fa] .product-detail-visual { margin-block: 0; }
  html[lang=fa] .hero-proof span:first-child { padding-inline-end: 7px; }
}

@media screen and (min-width: 1000px) and (min-height: 760px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) and (width: 1cqi) {
    html[lang=fa] .surface-copy {
      left: auto;
      inset-inline-start: calc(var(--surface-rest-edge) + clamp(32px, 5vw, 76px));
    }
    html[lang=fa] .surface-scene::after {
      background: linear-gradient(270deg, #0008, transparent 72%),
                  linear-gradient(0deg, #000d, #0003 54%, transparent 82%);
    }
  }
}

@media (min-width: 901px) {
  html[lang=fa] .connection-map {
    /* The 75%-wide SVG ends its branches at x=140 and x=860. */
    --branch-edge: 23%;
    --label-gap: clamp(16px, 2vw, 28px);
    height: auto;
    aspect-ratio: 200 / 57;
    margin-block: 30px 22px;
  }

  html[lang=fa] .connection-map > svg {
    inset-block: 0 auto;
    height: auto;
    aspect-ratio: 50 / 19;
  }

  html[lang=fa] .connection-node {
    bottom: auto;
    width: calc(var(--branch-edge) - var(--label-gap));
    translate: 0 -50%;
  }

  html[lang=fa] :is(.node-power, .node-cooling) { top: calc(100% * 80 / 380); }
  html[lang=fa] :is(.node-monitor, .node-cable) { top: calc(100% * 320 / 380); }

  html[lang=fa] :is(.node-power, .node-monitor) {
    right: calc(100% - var(--branch-edge) + var(--label-gap));
    left: auto;
    text-align: right;
  }

  html[lang=fa] :is(.node-cooling, .node-cable) {
    right: auto;
    left: calc(100% - var(--branch-edge) + var(--label-gap));
    text-align: left;
  }
}

@media (max-width: 900px) {
  html[lang=fa] .connection-map {
    grid-template-rows: auto auto auto;
    row-gap: clamp(12px, 3vw, 20px);
  }

  html[lang=fa] .connection-map > svg {
    height: auto;
    max-height: 155px;
    aspect-ratio: 50 / 19;
  }

  html[lang=fa] :is(.node-power, .node-cooling) { align-self: end; }
  html[lang=fa] :is(.node-monitor, .node-cable) { align-self: start; }
}

html[lang=fa] .global-nav .nav-inner { height: 59px; }
html[lang=fa] .global-nav .brand img { width: 36px; height: 36px; }
html[lang=fa] .global-nav nav { top: 100%; }

html[lang=fa] .global-nav .language-switch[lang=en] {
  font: 700 var(--text-caption)/1.25 IRANYekanX, sans-serif;
  letter-spacing: 0;
}

@media (min-width: 801px) {
  html[lang=fa] .global-nav nav {
    gap: clamp(24px, calc(5vw - 25px), 32px);
  }

  html[lang=fa] .global-nav nav a {
    font-size: .8125rem;
    white-space: nowrap;
  }
}

html[lang=fa] .global-nav .brand span {
  font: 700 1.0625rem/1.15 Ravi, IRANYekanX, sans-serif;
  letter-spacing: 0;
}

html[lang=fa] .product-nav .product-name {
  font-family: Ravi, IRANYekanX, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}
