@import url('/fonts/notosanssc/fonts.css?v=20261025');
/* Logical reading order; numeric identifiers keep their explicit bidi isolation. */
.locale-workspace-tools {
  display: flex;
  justify-content: flex-end;
  padding: 8px 24px;
  background: #f2f3f3;
}
.locale-workspace-tools #languageButton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  background: #fff;
  color: #17191c;
  cursor: pointer;
  font: inherit;
}
.locale-workspace-tools .language-button-icon {
  width: 22px;
  height: 22px;
}
html[dir='ltr'] .ws-shell,
html[dir='ltr'] .ws-login,
html[dir='ltr'] .ws-access {
  direction: ltr;
  text-align: start;
}
html
  body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  .category-main-card
  .card-bottom-action::after {
  content: attr(data-locale-more);
}
html
  body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  .category-main-card.is-active-card
  .card-bottom-action::after {
  content: attr(data-locale-less);
}
html body .shipping-choice::after {
  content: attr(data-locale-note);
}
html
  body.catalog-page.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout[data-catalog-family]
  .catalog-intro
  h1:before {
  content: attr(data-locale-eyebrow);
}
html
  body.catalog-page.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout[data-catalog-family]
  .catalog-intro:after {
  content: attr(data-locale-caption);
}
html[dir='ltr'] body {
  direction: ltr;
  text-align: left;
}
html[dir='ltr'] body,
html[dir='ltr']
  body
  :is(
    h1,
    h2,
    h3,
    h4,
    p,
    a,
    button,
    input,
    select,
    textarea,
    span,
    dt,
    dd,
    th,
    td,
    label,
    strong,
    small,
    b,
    li,
    figcaption
  ) {
  font-family: 'Segoe UI', Arial, sans-serif !important;
  letter-spacing: normal;
}
html[dir='ltr']
  body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  :is(
    h1,
    h2,
    h3,
    h4,
    p,
    a,
    button,
    input,
    select,
    textarea,
    span,
    dt,
    dd,
    th,
    td,
    label,
    strong,
    small,
    b,
    li,
    figcaption
  ) {
  font-family: 'Segoe UI', Arial, sans-serif !important;
}
html[dir='ltr']
  body
  :is(
    main,
    section,
    article,
    nav,
    header,
    footer,
    dialog,
    .mega-shell,
    .mega-route-list,
    .primary-nav,
    .product-identity,
    .subprod-info,
    .subprod-content,
    .afa-assistant,
    .order-basket-panel
  ) {
  direction: ltr;
}
html[dir='ltr']
  body
  :is(
    h1,
    h2,
    h3,
    h4,
    p,
    dt,
    dd,
    label,
    th,
    td,
    .mega-heading,
    .footer-content > *,
    .footer-contact-row,
    .footer-legal,
    .catalog-source-note,
    .product-card,
    .subprod-card,
    .subprod-info,
    .subprod-content,
    .footer-call strong
  ) {
  text-align: start;
}
html[dir='ltr'] body #afaFooter {
  direction: ltr;
  text-align: left;
}
html[dir='ltr'] body #afaFooter .footer-content > * {
  text-align: left;
}
html[dir='ltr'] body :is(input, select, textarea) {
  text-align: start;
}
html[dir='ltr']
  body
  :is(
    .mega-nav-brand > span:last-child,
    .account-button,
    .product-key-specs,
    .home-glance-stats,
    .about-brand-stats,
    .history-controls,
    .history-header,
    .history-footer
  ) {
  direction: ltr;
}
html[dir='ltr']
  body
  :is(.product-page-actions, .subprod-footer, .product-back)
  [aria-hidden='true'] {
  display: inline-block;
  transform: scaleX(-1);
}
html[dir='ltr']
  body
  :is(
    .product-description,
    .product-page-actions a,
    .product-page-actions button,
    .nav-secondary-tools button,
    .footer-intro p
  ) {
  white-space: normal;
}
.language-dialog {
  width: min(620px, calc(100vw - 32px));
  max-height: 85dvh;
  overflow: auto;
}
#languageDialog .language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
#languageDialog .language-card {
  cursor: pointer;
  min-width: 0;
  min-height: 82px;
  padding: 16px;
  white-space: normal;
  text-align: start;
  justify-content: center;
  gap: 6px;
}
#languageDialog .language-card strong {
  margin: 0;
  font-size: 1rem;
}
#languageDialog .language-grid {
  padding: 20px;
}
#languageDialog .language-dialog-header {
  padding: 20px;
}
#languageDialog .language-dialog-footer {
  padding: 16px 20px;
}
#languageDialog .language-card.is-active {
  border-color: var(--brand-red, #d7182a);
  box-shadow: inset 0 0 0 1px var(--brand-red, #d7182a);
}
#languageDialog [role='status']:empty {
  display: none;
}
html:not([lang='fa'])
  body
  :is(
    .subprod-title,
    .product-size,
    .product-key-specs dd,
    .home-glance-stats dt,
    .about-brand-stats dt
  ) {
  overflow-wrap: anywhere;
}
html[dir='ltr'] body :is(.product-size, .subprod-title) {
  line-height: 1.5;
}
html[dir='ltr']
  body.afa-card-ui.afa-pack-ui.afa-background-page
  :is(.pill-value, .price-value, .home-ticker-quote, .subprod-price, .product-price) {
  direction: ltr !important;
}
@media (max-width: 600px) {
  html:not([lang='fa']) body .product-page-actions {
    flex-wrap: wrap;
  }
  html:not([lang='fa']) body .product-page-actions > * {
    min-width: 0;
    flex: 1 1 100%;
  }
  #languageDialog .language-grid {
    grid-template-columns: 1fr;
  }
  #languageDialog .language-card {
    min-height: 60px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
@media (max-width: 1000px) {
  html:not([lang='fa'])
    body.afa-pack-ui.afa-background-page.afa-ordered-layout
    .navbar
    .mega-nav-container {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 44px;
    grid-template-areas: 'brand actions menu';
    gap: 10px;
  }
  html:not([lang='fa']) .mega-nav-brand {
    grid-area: brand;
  }
  html:not([lang='fa']) .mega-nav-actions {
    grid-area: actions;
    min-width: 0;
    justify-content: flex-end;
  }
  html:not([lang='fa']) #menuButton {
    grid-area: menu;
    position: static;
  }
  html:not([lang='fa']) .visual-inquiry-link {
    display: none !important;
  }
  html:not([lang='fa']) #languageButton {
    max-width: 125px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media (max-width: 900px) {
  html:not([lang='fa'])
    body.product-detail-page.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
    .product-page-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  html:not([lang='fa']) body.product-detail-page .product-specimen {
    grid-row: 1;
    width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 600px) {
  html:not([lang='fa'])
    body.afa-pack-ui.afa-background-page.afa-ordered-layout
    .navbar
    .mega-nav-container {
    width: calc(100% - 24px);
    gap: 6px;
  }
  html:not([lang='fa']) body .navbar .mega-nav-brand {
    width: 56px;
  }
  html:not([lang='fa']) body .navbar .mega-nav-brand img {
    width: 56px;
    max-width: 56px;
  }
  html:not([lang='fa']) body .navbar .order-basket-button > span {
    display: none;
  }
  html:not([lang='fa']) body .navbar :is(.nav-secondary-tools, .nav-commerce-tools) {
    gap: 6px;
    padding: 0;
    margin: 0;
    border: 0;
  }
  html:not([lang='fa']) #languageButton {
    max-width: 80px;
    padding-inline: 6px;
  }
  html:not([lang='fa']) body .navbar .order-basket-button {
    padding: 6px;
  }
}
/* Shared type scale with script-specific metrics. Fonts are self-hosted (OFL). */
@font-face {
  font-family: 'AFA Noto Sans';
  src: url('/fonts/notosans/NotoSans%5Bwdth%2Cwght%5D.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'AFA Noto Arabic';
  src: url('/fonts/notosansarabic/NotoSansArabic%5Bwdth%2Cwght%5D.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --locale-font: Peyda, AfaPanel, AfaWorkspace, Tahoma, sans-serif;
  --locale-leading: 2;
  --locale-heading-leading: 1.55;
  --locale-copy: 16px;
}
html[lang='en'] {
  --locale-font: 'AFA Noto Sans', Arial, sans-serif;
  --locale-leading: 1.75;
  --locale-heading-leading: 1.3;
}
html[lang='tr'] {
  --locale-font: 'AFA Noto Sans', Arial, sans-serif;
  --locale-leading: 1.8;
  --locale-heading-leading: 1.35;
}
html[lang='az'] {
  --locale-font: 'AFA Noto Sans', Arial, sans-serif;
  --locale-leading: 1.8;
  --locale-heading-leading: 1.35;
}
html[lang='ru'] {
  --locale-font: 'AFA Noto Sans', Arial, sans-serif;
  --locale-leading: 1.8;
  --locale-heading-leading: 1.4;
}
html[lang='ar'] {
  --locale-font: 'AFA Noto Arabic', Tahoma, sans-serif;
  --locale-leading: 2;
  --locale-heading-leading: 1.65;
}
html[lang='ckb'] {
  --locale-font: 'AFA Noto Arabic', Tahoma, sans-serif;
  --locale-leading: 2.05;
  --locale-heading-leading: 1.7;
}
html[lang] body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout,
html[lang]
  body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  :is(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    a,
    button,
    input,
    textarea,
    select,
    label,
    small,
    strong,
    b,
    em,
    span,
    dt,
    dd,
    th,
    td,
    time,
    summary,
    figcaption,
    output,
    text,
    li,
    legend
  ) {
  font-family: var(--locale-font) !important;
  letter-spacing: normal;
  font-synthesis: none;
}
html[lang] body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout :is(h1, h2, h3, h4) {
  line-height: var(--locale-heading-leading);
  font-weight: 700;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
html[lang]
  body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  :is(
    .hero-summary > p,
    .capability-intro > p,
    .home-glance-copy > p,
    .about-brand-copy > p,
    .contact-hero-copy > p,
    .product-description
  ) {
  font-size: var(--locale-copy);
  font-weight: 400;
  line-height: var(--locale-leading);
  text-align: start;
  color: #535962;
}
html[lang]
  body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  :is(.home-glance-copy h2, .home-quality-heading h2, .capability-intro h2) {
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: var(--locale-heading-leading);
}
html[lang]
  body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  :is(
    .subprod-title,
    .product-size,
    .product-key-specs dd,
    .home-glance-stats dt,
    .about-brand-stats dt
  ) {
  word-break: normal;
  overflow-wrap: break-word;
}
html[lang]
  body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  :is(button, input, select, textarea) {
  line-height: 1.65;
}
html[lang]
  body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  :is(.product-page-actions a, .product-page-actions button, .subprod-footer a) {
  line-height: 1.8;
  white-space: normal;
}
html[lang]
  body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  :is(.home-glance-stats, .about-brand-stats)
  dt {
  font-size: 13px;
  line-height: 1.8;
  font-weight: 500;
  text-align: start;
}
html[lang]
  body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  :is(.home-glance-stats, .about-brand-stats)
  dd {
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  font-weight: 700;
}
html[lang]
  body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  :is(.home-glance-stats, .about-brand-stats)
  dd
  small {
  font-size: 12px;
  font-weight: 400;
}
html[lang] body #afaFooter :is(p, li, a) {
  line-height: var(--locale-leading);
}
html[lang] body #afaFooter :is(.footer-story p, .footer-intro p) {
  font-size: 14px;
}
html[lang] body #afaFooter :is(.footer-call strong, a[href^='tel:'], a[href^='mailto:']) {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}
html[lang] body :is(input[type='email'], input[type='tel'], input[type='url']) {
  direction: ltr;
  text-align: start;
}
/* Native language names remain readable regardless of the current page script. */
html[lang] body #languageDialog .language-card strong {
  font-family: 'AFA Noto Sans', 'AFA Noto Arabic', Peyda, sans-serif !important;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 600;
}
@media (max-width: 600px) {
  :root {
    --locale-copy: 15px;
  }
  html[lang]
    body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
    :is(.home-glance-stats, .about-brand-stats)
    dt {
    font-size: 12px;
  }
}
/* Values and units follow the active reading direction, including flex text nodes. */
html[dir='ltr']
  body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  :is(
    .subprod-badge-size,
    .subprod-badge-grade,
    .subprod-badges,
    .product-size,
    .product-breadcrumb,
    .home-price-head
  ) {
  direction: ltr;
}
html[lang]
  body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  :is(.application-card p, .application-next p, .applications-intro p) {
  font-size: 15px;
  line-height: var(--locale-leading);
}
html[lang]
  body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  :is(.product-page-actions a, .product-page-actions button, .specimen-view-controls button) {
  font-size: 12px;
  min-height: 40px;
}
@media (min-width: 601px) and (max-width: 1000px) {
  html:not([lang='fa']) #languageButton {
    max-width: 170px;
  }
}
@media (max-width: 900px) {
  html[lang]
    body.product-detail-page.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
    .product-page-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  html[lang] body.product-detail-page .product-specimen {
    grid-row: 1;
    width: 100%;
    box-sizing: border-box;
  }
}
html[dir='ltr']
  body.catalog-page.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  .sub-product-card[data-product-id]
  .quick-pill {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  direction: ltr;
  text-align: start;
  gap: 12px;
}
html[dir='ltr']
  body.catalog-page.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  .sub-product-card[data-product-id]
  .pill-label {
  text-align: start;
}
html[dir='ltr']
  body.catalog-page.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
  .sub-product-card[data-product-id]
  .btn-dossier-preview
  svg {
  transform: scaleX(-1);
}
/* Longer navigation labels use the compact menu before desktop actions collide. */
@media (min-width: 1001px) and (max-width: 1400px) {
  html:not([lang='fa'])
    body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
    .navbar
    .mega-nav-container {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 44px;
    grid-template-areas: 'brand actions menu';
    gap: 16px;
  }
  html:not([lang='fa']) .mega-nav-brand {
    grid-area: brand;
  }
  html:not([lang='fa']) .mega-nav-actions {
    grid-area: actions;
    min-width: 0;
    justify-content: flex-end;
  }
  html:not([lang='fa']) body .navbar #menuButton {
    grid-area: menu;
    display: flex;
    position: static;
  }
  html:not([lang='fa']) body .navbar .primary-nav {
    position: absolute;
    inset: 100% 24px auto;
    display: none;
    width: auto;
    padding: 16px;
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
  }
  html:not([lang='fa']) body .navbar .primary-nav.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  html:not([lang='fa']) body .navbar.menu-open .primary-nav {
    display: none;
  }
  html:not([lang='fa']) body .navbar .mega-nav-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  html:not([lang='fa']) body .navbar .mega-nav-link {
    justify-content: space-between;
    white-space: normal;
  }
}
@media (min-width: 1401px) {
  html:not([lang='fa'])
    body.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
    .navbar
    .mega-nav-container {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px;
  }
  html:not([lang='fa']) body .navbar .mega-nav-link {
    font-size: 13px;
  }
}
/* The customer portal and organization page intentionally omit the background layout classes. */
html[lang] body.afa-pack-ui.afa-card-ui:is(.portal-body, .organization-page),
html[lang]
  body.afa-pack-ui.afa-card-ui:is(.portal-body, .organization-page)
  :is(
    h1,
    h2,
    h3,
    h4,
    p,
    a,
    button,
    input,
    select,
    textarea,
    span,
    strong,
    small,
    b,
    label,
    td,
    th,
    legend
  ) {
  font-family: var(--locale-font) !important;
  letter-spacing: normal;
  font-synthesis: none;
}
html[lang] body.portal-body .customer-login-brand h1 {
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: var(--locale-heading-leading);
  font-weight: 700;
  overflow-wrap: break-word;
}
html[lang] body.portal-body .customer-login-card h2 {
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: var(--locale-heading-leading);
  overflow-wrap: break-word;
}
html[lang] body :is(.customer-login-brand, .customer-login-card) p {
  line-height: var(--locale-leading);
}
html[lang] body [data-select-unit] {
  min-width: 0;
}
html[lang] body [data-select-unit] span {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
@media (max-width: 1400px) {
  html:not([lang='fa']) body:is(.portal-body, .organization-page) .navbar .mega-nav-container {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 44px;
    grid-template-areas: 'brand actions menu';
    align-items: center;
    gap: 12px;
  }
  html:not([lang='fa']) body:is(.portal-body, .organization-page) .mega-nav-brand {
    grid-area: brand;
  }
  html:not([lang='fa']) body:is(.portal-body, .organization-page) .mega-nav-actions {
    grid-area: actions;
  }
  html:not([lang='fa']) body:is(.portal-body, .organization-page) #menuButton {
    grid-area: menu;
    position: static;
    display: flex;
  }
}
/* Technical tables follow the reading direction of their locale. */
html[dir='ltr'] body.product-detail-page .dossier-table :is(th, td) {
  text-align: left !important;
}
/* Long-form reading: both edges align, with a natural final line. */
html[lang] body.afa-pack-ui main p[data-locale-prose] {
  font-family: var(--locale-font) !important;
  font-size: var(--locale-copy) !important;
  font-weight: 400 !important;
  line-height: var(--locale-leading) !important;
  text-align: justify !important;
  text-align-last: start !important;
  text-justify: inter-word;
  text-wrap: wrap;
  word-break: normal;
  overflow-wrap: break-word;
  letter-spacing: normal !important;
  word-spacing: normal;
  hyphens: manual;
}
html[lang] body.afa-pack-ui main :is(h1, h2, h3, h4) {
  font-weight: 700 !important;
  line-height: var(--locale-heading-leading) !important;
  text-align: start;
}
html[lang] body.afa-pack-ui main p[data-locale-prose] :is(strong, b) {
  font-weight: 600 !important;
}
/* A narrow card cannot justify long words without distracting gaps. */
html[lang] body.afa-pack-ui main p[data-locale-prose][data-narrow-prose] {
  text-align: start !important;
  font-size: 14px !important;
  line-height: var(--locale-leading) !important;
}
html[dir='ltr'] body.afa-pack-ui main p[data-locale-prose] {
  hyphens: auto;
}
html[lang] body.afa-pack-ui main :is(label, legend, summary) {
  font-weight: 500;
  line-height: 1.8;
}
html[lang] body.afa-pack-ui main :is(button, .button) {
  font-weight: 600;
}
html[dir='ltr'] body.afa-pack-ui .article-body li {
  padding-inline: 28px 0;
}
html[dir='ltr'] body.afa-pack-ui .article-body li::before {
  inset-inline-start: 2px;
  inset-inline-end: auto;
}
@media (max-width: 600px) {
  html[lang] body.afa-pack-ui main p[data-locale-prose] {
    font-size: 15px !important;
  }
}

/* Latin metrics stay consistent; Chinese glyphs load from local unicode ranges. */
html[lang='zh-Hans'] {
  --locale-font: 'AFA Noto Sans', 'AFA Noto SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  --locale-leading: 1.9;
  --locale-heading-leading: 1.5;
}
/* Shared language picker: compact, native-script choices with a clear selection. */
html[lang] body #languageDialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #e5e6e8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 80px #0003;
  overflow: auto;
  color: #191b20;
}
html[lang] body #languageDialog::backdrop {
  background: rgba(18, 21, 27, 0.48);
  backdrop-filter: blur(5px);
}
html[lang] body #languageDialog .language-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 0;
}
#languageDialog .language-dialog-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
#languageDialog .language-globe {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  background: #fff0f2;
  border: 1px solid #f9dce1;
  border-radius: 14px;
  color: #d7182a;
}
#languageDialog .language-globe svg {
  width: 27px;
  height: 27px;
}
#languageDialog .language-dialog-brand {
  display: block;
  margin-bottom: 4px;
  color: #858a94;
  font:
    600 10px/1.4 Arial,
    sans-serif;
  letter-spacing: 0.14em;
  text-align: start;
}
html[lang] body #languageDialog #languageTitle {
  margin: 0;
  font-size: 23px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: normal;
  text-align: start;
}
html[lang] body #languageDialog .language-dialog-dismiss {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 8px;
  border: 1px solid #eceef0;
  border-radius: 50%;
  background: #fff;
  color: #6d727c;
  cursor: pointer;
}
#languageDialog .language-dialog-dismiss svg {
  width: 18px;
  height: 18px;
}
html[lang] body #languageDialog .language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 24px 24px;
  direction: inherit;
}
html[lang] body #languageDialog .language-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 78px;
  padding: 13px 16px;
  padding-inline-end: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
  color: #292d34;
  text-align: start;
  transition:
    background 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
  cursor: pointer;
}
html[lang] body #languageDialog .language-card strong {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
html[lang] body #languageDialog .language-card > span:not(.language-card-check) {
  color: #8b909a;
  font:
    500 10px/1.4 Arial,
    sans-serif;
  letter-spacing: 0.07em;
  direction: ltr;
}
html[lang] body #languageDialog .language-card-check {
  position: absolute;
  inset-inline-end: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  border: 1px solid #dfe2e7;
  border-radius: 50%;
  color: transparent;
  font:
    600 12px/1 Arial,
    sans-serif;
}
html[lang] body #languageDialog .language-card.is-active {
  border-color: #d7182a;
  background: #fff5f6;
  box-shadow: 0 0 0 1px #d7182a;
}
html[lang] body #languageDialog .language-card.is-active .language-card-check {
  background: #d7182a;
  border-color: #d7182a;
  color: #fff;
}
@media (hover: hover) {
  html[lang] body #languageDialog .language-card:hover {
    border-color: #c5c8cf;
    background: #f8f9fa;
  }
  html[lang] body #languageDialog .language-card.is-active:hover {
    border-color: #d7182a;
    background: #fff0f2;
  }
  html[lang] body #languageDialog .language-dialog-dismiss:hover {
    background: #f5f6f8;
    color: #191b20;
  }
}
html[lang] body #languageDialog button:focus-visible {
  outline: 3px solid #d7182a;
  outline-offset: 3px;
}
html[lang] body #languageDialog .language-dialog-footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 24px;
  border-top: 1px solid #eceef0;
  background: #fafafb;
}
html[lang] body #languageDialog .language-dialog-footer .button {
  width: auto;
  min-height: 40px;
  padding: 8px 24px;
  border: 1px solid #e0e2e6;
  border-radius: 8px;
  background: #fff;
  color: #343943;
  font-size: 13px;
  line-height: 1.6;
}
#languageDialog [role='status']:not(:empty) {
  padding: 0 24px 16px;
  color: #b41426;
  font-size: 13px;
}
#languageDialog .language-grid[aria-busy='true'] {
  opacity: 0.6;
  pointer-events: none;
}
@media (max-width: 480px) {
  html[lang] body #languageDialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 14px;
  }
  html[lang] body #languageDialog .language-dialog-header {
    padding: 20px 16px;
    gap: 10px;
  }
  html[lang] body #languageDialog #languageTitle {
    font-size: 20px;
  }
  #languageDialog .language-globe {
    flex-basis: 42px;
    height: 42px;
    border-radius: 12px;
  }
  #languageDialog .language-dialog-identity {
    gap: 10px;
  }
  html[lang] body #languageDialog .language-grid {
    padding: 0 16px 20px;
    gap: 8px;
  }
  html[lang] body #languageDialog .language-card {
    min-height: 76px;
    padding: 11px;
    padding-inline-end: 31px;
    gap: 5px;
  }
  html[lang] body #languageDialog .language-card strong {
    font-size: 13px;
  }
  html[lang] body #languageDialog .language-card-check {
    inset-inline-end: 9px;
    width: 17px;
    height: 17px;
    font-size: 10px;
  }
  html[lang] body #languageDialog .language-dialog-footer {
    padding: 12px 16px;
  }
}
/* Keep every native language name and code centered in its card. */
html[lang] body #languageDialog .language-card {
  align-items: center;
  text-align: center;
  padding-inline: 32px;
}
html[lang] body #languageDialog .language-card strong,
html[lang] body #languageDialog .language-card > span:not(.language-card-check) {
  width: 100%;
  text-align: center;
}
html[lang] body #languageButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
html[lang] body #languageButton .language-button-icon {
  width: 17px;
  height: 17px;
  flex: none;
}
html[lang] body #languageDialog .language-card-icon {
  width: 19px;
  height: 19px;
  flex: none;
  color: #9298a2;
  margin: 0 0 2px;
}
html[lang] body #languageDialog .language-card.is-active .language-card-icon {
  color: #bd1930;
}
html[lang] body #languageDialog .language-card {
  min-height: 94px;
}
@media (max-width: 480px) {
  html[lang] body #languageDialog .language-card {
    min-height: 90px;
  }
  html[lang] body #languageButton .language-button-icon {
    width: 15px;
    height: 15px;
  }
  html[lang] body #languageButton {
    gap: 4px;
  }
}
html[lang] body #languageDialog .language-card {
  min-height: 78px;
}
@media (max-width: 480px) {
  html[lang] body #languageDialog .language-card {
    min-height: 76px;
  }
}
html[lang] body #languageButton > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[lang] body .locale-workspace-tools #languageButton {
  max-width: none;
  overflow: visible;
}
html[lang] body .locale-workspace-tools #languageButton > span {
  overflow: visible;
  text-overflow: clip;
}

/* Apply the same language face in workspaces that do not use public-page classes. */
html[lang] body:not(.afa-pack-ui),
html[lang]
  body:not(.afa-pack-ui)
  :is(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    a,
    button,
    input,
    textarea,
    select,
    label,
    small,
    strong,
    b,
    em,
    span,
    dt,
    dd,
    th,
    td,
    time,
    summary,
    figcaption,
    output,
    text,
    li,
    legend
  ) {
  font-family: var(--locale-font) !important;
  letter-spacing: normal;
}
/* Each native label follows its own language, even while viewing another locale. */
html[lang] body #languageDialog .language-card[lang='fa'] strong {
  font-family: Peyda, AfaPanel, AfaWorkspace, Tahoma, sans-serif !important;
}
html[lang] body #languageDialog .language-card:is([lang='ar'], [lang='ckb']) strong {
  font-family: 'AFA Noto Arabic', Tahoma, sans-serif !important;
}
html[lang]
  body
  #languageDialog
  .language-card:is([lang='en'], [lang='tr'], [lang='az'], [lang='ru'])
  strong {
  font-family: 'AFA Noto Sans', Arial, sans-serif !important;
}
html[lang] body #languageDialog .language-card[lang='zh-Hans'] strong {
  font-family:
    'AFA Noto Sans', 'AFA Noto SC', 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
}

/* Reading rhythm and logical alignment across all eight writing systems. */
html[lang] body :is(h1, h2, h3, h4, h5, h6) {
  letter-spacing: normal !important;
}
html[lang='zh-Hans'] {
  --locale-copy: 16px;
}
html[lang='zh-Hans'] body.afa-pack-ui main p[data-locale-prose] {
  text-justify: inter-character;
  line-break: strict;
  hyphens: none;
}
html[lang] body #afaFooter .footer-legal p,
html[lang] body .unit-capacity-note,
html[lang] body .home-price-unit {
  font-size: 12px !important;
  line-height: 1.8;
}
html[lang] body :is(.about-brand-facts, .factory-assembly-heading p, .certificate-card summary) {
  font-size: 12px !important;
  line-height: 1.8;
}
html[lang] body.production-page main summary {
  font-size: 13px;
}
html[lang] body .related-news .section-kicker {
  direction: inherit;
  text-align: start;
}
html[lang] body .box-filter-pill {
  font-size: 12px !important;
  line-height: 1.7;
  white-space: normal;
  min-height: 38px;
}
html[lang]
  body.product-detail-page
  .product-specimen
  :is(.product-photo-caption, .product-photo-hint) {
  font-size: 12px;
  line-height: 1.8;
}
html[lang] body.product-detail-page .product-photo-thumbs button span {
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: break-word;
}
html[lang] body.portal-body .customer-login-card .portal-site-link {
  width: auto;
  max-width: 100%;
  min-height: 44px;
  height: auto;
  padding: 10px 12px;
  overflow: visible;
  white-space: normal;
  justify-content: flex-start;
  text-align: start;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--afa-black, #191919);
}
html[lang] body.portal-body .customer-login-card .portal-site-link::before {
  content: none;
}
html[lang] body.portal-body .customer-login-card .portal-site-link:hover {
  color: #fff;
}
html[lang] body.portal-body #customerPhone {
  direction: ltr;
  text-align: start;
  unicode-bidi: isolate;
}
html[lang] body #contactMain .tracking-card > * {
  min-width: 0;
  max-width: 100%;
}
html[lang] body #contactMain .tracking-card form > div {
  min-width: 0;
  max-width: 100%;
}
html[lang] body #contactMain .tracking-card input {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
html[lang] body #contactMain .inquiry-selector :is(button, a) {
  text-align: start;
}
html[lang] body .price-history :is(.history-header > div, .history-price) {
  min-width: 0;
}
html[lang] body .price-history h2 {
  overflow-wrap: break-word;
  line-height: var(--locale-heading-leading);
}
html[lang] body .price-history .history-change {
  justify-items: start;
  text-align: start;
}
html[lang] body .price-history .history-change > strong {
  width: max-content;
  max-width: 100%;
}
html[lang] body .price-history :is(.history-note, .history-tip, .history-timestamp) {
  font-size: 12px;
  line-height: 1.8;
  text-align: start;
}
html[lang] body .price-history :is(.history-summary dt, .history-label, .history-readout span) {
  font-size: 12px;
  line-height: 1.8;
}
html[lang] body .price-history .history-chart-kicker {
  font-size: 11px;
  text-align: start;
}
@media (max-width: 600px) {
  html[lang] body .price-history .history-periods {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  html[lang] body .price-history .history-periods button {
    font-size: 12px;
    line-height: 1.6;
    white-space: normal;
    min-height: 44px;
    padding: 8px 6px;
    overflow-wrap: break-word;
  }
}
@media (max-width: 767px) {
  html[lang] body.afa-pack-ui main p[data-locale-prose] {
    text-align: start !important;
    hyphens: manual;
  }
  html[lang] body.afa-pack-ui main p[data-locale-prose][data-narrow-prose] {
    font-size: 15px !important;
  }
  html[lang]
    body
    :is(
      input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='hidden']),
      select,
      textarea
    ) {
    font-size: 16px !important;
  }
  html[lang='zh-Hans'] body.afa-pack-ui main p[data-locale-prose] {
    font-size: 16px !important;
  }
  html[lang='zh-Hans'] body.afa-pack-ui main p[data-locale-prose][data-narrow-prose] {
    font-size: 16px !important;
  }
  html[lang]
    body.product-detail-page.afa-card-ui.afa-pack-ui.afa-background-page.afa-ordered-layout
    .product-page
    .product-page-actions
    :is(a, button) {
    flex: 1 1 100%;
    width: 100%;
    min-height: 48px;
    font-size: 14px;
    line-height: 1.8;
    gap: 12px;
  }
}
@media (max-width: 760px) {
  html[lang] body #contactMain .inquiry-selector :is(button, a) {
    text-align: center;
  }
}

/* Keep every navigation action reachable on narrow phones. */
@media (max-width: 359px) {
  html[lang] body .navbar .mega-nav-container {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    grid-template-areas: 'brand actions menu' !important;
    gap: 4px !important;
    width: calc(100% - 24px) !important;
  }
  html[lang] body .navbar .mega-nav-brand {
    grid-area: brand;
    min-width: 44px !important;
    width: 44px !important;
  }
  html[lang] body .navbar .mega-nav-brand img {
    width: 44px !important;
    max-width: 44px !important;
  }
  html[lang] body .navbar #menuButton {
    grid-area: menu;
    position: static !important;
  }
  html[lang] body .navbar .mega-nav-actions {
    grid-area: actions;
    min-width: 0;
    gap: 2px !important;
    justify-content: flex-end;
  }
  html[lang] body .navbar :is(.nav-secondary-tools, .nav-commerce-tools) {
    gap: 2px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }
  html[lang] body .navbar #languageButton {
    width: 60px !important;
    max-width: 60px !important;
    padding-inline: 4px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  html[lang] body .navbar .visual-inquiry-link {
    display: none !important;
  }
  html[lang] body .navbar .order-basket-button > span {
    display: none !important;
  }
  html[lang] body .navbar .order-basket-button {
    width: 40px !important;
    padding: 4px !important;
  }
}
@media (max-width: 359px) {
  html[lang] body .footer-inquiry {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    flex-wrap: wrap;
  }
  html[lang] body .footer-intro {
    min-width: 0;
    max-width: 100%;
  }
  html[lang] body .contact-quick-links a {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 359px) {
  html[lang] body .home-quality-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html[lang] body .home-quality-grid > * {
    min-width: 0;
  }
  html[lang] body .home-quality-links > a {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
  }
  html[lang] body .quick-contact-dock .contact-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html[lang] body .quick-contact-dock a {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
/* Persian uses one family across public pages and every workspace. Important
   declarations in this layer override legacy unlayered font exceptions. */
@font-face {
  font-family: Peyda;
  src: url('/fonts/peyda/Peyda-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Peyda;
  src: url('/fonts/peyda/Peyda-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Peyda;
  src: url('/fonts/peyda/Peyda-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Peyda;
  src: url('/fonts/peyda/Peyda-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Peyda;
  src: url('/fonts/peyda/Peyda-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Peyda;
  src: url('/fonts/peyda/Peyda-Black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}
@layer afa-persian-typography {
  html:lang(fa) body,
  html:lang(fa) body * {
    font-family: Peyda, Tahoma, sans-serif !important;
    font-synthesis: none;
  }
  html:lang(fa) #languageDialog .language-card strong {
    font-family: 'AFA Noto Sans', 'AFA Noto Arabic', Peyda, sans-serif !important;
  }
}
