/* ───────────── Catalog base: layout, blocks and animation primitives shared by every theme ───────────── */
@import url('/fonts/fonts.css');

.cat-doc {
  --c-paper: #fff; --c-ink: #0b1f3a; --c-primary: #0b1f3a; --c-accent: #f36b21; --c-muted: #62748e; --c-line: #e2e8f0; --c-tint: #f3f5f8; --c-dark: #0b1f3a;
  --radius: 2.2mm; --radius-lg: 4mm; --rule-w: .3mm;
  font-family: var(--f-body), 'Yekan Bakh', 'Peyda', sans-serif;
  color: var(--c-ink);
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
  text-rendering: geometricPrecision;
  font-kerning: normal;
}
.cat-doc *, .cat-doc *::before, .cat-doc *::after { box-sizing: border-box; }

/* page frame */
.cat-page {
  position: relative; width: var(--pw); height: var(--ph); overflow: hidden;
  container: page / size;
  background: var(--page-bg); color: var(--fg);
  font-size: var(--fs); line-height: 1.8;
  --fg: var(--c-ink); --fg-muted: var(--c-muted); --hl: var(--c-accent); --surface: #fff; --surface-2: var(--c-tint); --rule: var(--c-line);
  --logo-light: var(--c-ink); --logo-accent: var(--c-accent);
  --gap: 3.2cqmin;
  --pad-t: 11cqmin; --pad-x: 8cqmin; --pad-b: 10cqmin;
}
.lang-en .cat-page { line-height: 1.55; }
.pv-light { --page-bg: var(--c-paper); }
.pv-white { --page-bg: #fff; }
.pv-tint { --page-bg: var(--c-tint); --surface: #fff; }
.pv-dark { --page-bg: var(--c-dark); --fg: #fff; --fg-muted: rgba(255,255,255,.66); --surface: rgba(255,255,255,.06); --surface-2: rgba(255,255,255,.1); --rule: rgba(255,255,255,.16); --logo-light: #fff; }
.pv-accent { --page-bg: var(--c-accent); --fg: #fff; --fg-muted: rgba(255,255,255,.8); --hl: #fff; --surface: rgba(255,255,255,.12); --surface-2: rgba(255,255,255,.18); --rule: rgba(255,255,255,.3); --logo-light: #fff; --logo-accent: #fff; }
.pv-primary { --page-bg: var(--c-primary); --fg: #fff; --fg-muted: rgba(255,255,255,.7); --surface: rgba(255,255,255,.08); --surface-2: rgba(255,255,255,.12); --rule: rgba(255,255,255,.2); --logo-light: #fff; }

.pg-bg, .pg-deco, .pg-chrome { position: absolute; inset: 0; pointer-events: none; }
.pg-bg { z-index: 0; }
.pg-photo { position: absolute; inset: 0; background-size: cover; }
.pg-overlay { position: absolute; inset: 0; }
.pg-deco { z-index: 1; overflow: hidden; }
.pg-body {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; gap: var(--gap);
  padding: var(--pad-t) var(--pad-x) var(--pad-b); overflow: hidden;
}
.pg-body.pad-tight { --pad-t: 7cqmin; --pad-x: 6cqmin; --pad-b: 7cqmin; }
.pg-body.pad-wide { --pad-t: 13cqmin; --pad-x: 11cqmin; --pad-b: 13cqmin; }
.pg-body.pad-none { --pad-t: 0; --pad-x: 0; --pad-b: 0; }
.pg-body.pad-cover { --pad-t: 8cqmin; --pad-x: 8cqmin; --pad-b: 8cqmin; }
.pg-chrome { z-index: 3; }

/* running header / footer */
.ch-head, .ch-foot { position: absolute; inset-inline: var(--pad-x, 8cqmin); display: flex; align-items: center; gap: 2cqmin; font-size: calc(var(--fs) * .74); color: var(--fg-muted); line-height: 1; }
.ch-head { top: 4.4cqmin; }
.ch-foot { bottom: 4cqmin; }
.ch-mark svg { height: 2.6cqmin; width: auto; display: block; }
.ch-brand { font-weight: 700; color: var(--fg); }
.ch-section { margin-inline-start: auto; }
.ch-title { margin-inline-start: auto; }
.ch-num { font-weight: 800; color: var(--fg); font-family: var(--f-head); font-size: calc(var(--fs) * .95); }

/* generic block */
.blk { position: relative; min-width: 0; color: var(--bc, inherit); }
.blk.has-color { --fg: var(--bc); }
.blk.is-grow { flex: 1 1 0; min-height: 0; }
.blk.has-shadow { box-shadow: 0 2mm 6mm rgba(10, 20, 40, .12); }
.blk.al-center { text-align: center; align-self: center; }
.blk.al-end { text-align: end; align-self: flex-end; }
.blk.al-start { text-align: start; align-self: flex-start; }
.blk.al-justify { text-align: justify; }
.blk.self-stretch { align-self: stretch; }
.blk.has-bg { padding: 3.2cqmin; border-radius: var(--radius); }
.blk.is-abs { margin: 0; }
.cat-doc h1, .cat-doc h2, .cat-doc h3, .cat-doc h4, .cat-doc h5, .cat-doc p, .cat-doc figure, .cat-doc blockquote, .cat-doc ul, .cat-doc ol { margin: 0; }
.cat-doc a { color: inherit; text-decoration: none; }
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex: none; }
[dir=rtl] .flip-rtl { transform: scaleX(-1); }

/* heading */
.b-heading { font-family: var(--f-head); color: var(--bc, var(--fg)); font-weight: 800; line-height: 1.25; font-size: calc(4.4cqmin * var(--scale, 1)); text-wrap: balance; }
.b-heading em { font-style: normal; color: var(--hl); }
.b-heading.v-display { font-size: calc(7.4cqmin * var(--scale, 1)); line-height: 1.12; font-weight: 900; }
.lang-en .b-heading.v-display { line-height: 1.02; letter-spacing: -.02em; }
.b-heading.v-title { font-size: calc(4.6cqmin * var(--scale, 1)); }
.b-heading.v-subtitle { font-size: calc(2.9cqmin * var(--scale, 1)); font-weight: 700; line-height: 1.4; }
.b-heading.v-small { font-size: calc(var(--fs) * 1.3 * var(--scale, 1)); font-weight: 700; line-height: 1.5; }
.b-heading.v-eyebrow { font-family: var(--f-body); font-size: calc(var(--fs) * .92 * var(--scale, 1)); font-weight: 700; color: var(--bc, var(--hl)); line-height: 1.4; display: flex; align-items: center; gap: 2cqmin; }
.b-heading.v-eyebrow::before { content: ''; width: 7cqmin; height: var(--rule-w); background: currentColor; flex: none; }
.b-heading.v-eyebrow.al-center::after { content: ''; width: 7cqmin; height: var(--rule-w); background: currentColor; flex: none; }
.lang-en .b-heading.v-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: calc(var(--fs) * .8 * var(--scale, 1)); }
.b-heading.v-outline { font-size: calc(9cqmin * var(--scale, 1)); line-height: 1; font-weight: 900; color: transparent; -webkit-text-stroke: .32mm var(--bc, var(--fg)); }
.b-heading.v-number { font-size: calc(14cqmin * var(--scale, 1)); line-height: .9; font-weight: 200; color: var(--bc, var(--hl)); font-family: var(--f-head); }

/* text */
.b-text { color: var(--bc, var(--fg)); text-align: justify; text-justify: inter-word; hyphens: auto; }
.b-text p + p { margin-top: .7em; }
.b-text b, .b-text strong { font-weight: 700; color: var(--bc, var(--fg)); }
.b-text em { font-style: normal; color: var(--hl); font-weight: 700; }
.b-text ul { padding-inline-start: 1.2em; }
.b-text.v-lead { font-size: calc(var(--fs) * 1.2 * var(--scale, 1)); line-height: 1.85; color: var(--bc, var(--fg)); text-align: start; }
.lang-en .b-text.v-lead { line-height: 1.6; }
.b-text.v-muted { color: var(--bc, var(--fg-muted)); }
.b-text.v-small { font-size: calc(var(--fs) * .86); color: var(--bc, var(--fg-muted)); }
.b-text.v-caption { font-size: calc(var(--fs) * .78); color: var(--bc, var(--fg-muted)); text-align: start; }
.b-text.al-center { text-align: center; }

/* image */
.b-image { display: flex; flex-direction: column; gap: 1.4cqmin; }
.b-image .img-wrap { position: relative; overflow: hidden; border-radius: var(--radius); flex: 1 1 auto; min-height: 0; width: 100%; height: 100%; }
.b-image img { display: block; width: 100%; height: 100%; }
.b-image.is-fill, .b-image.is-grow, .b-image.is-abs { height: 100%; }
.b-image:not(.is-fill):not(.is-grow):not(.is-abs) .img-wrap { height: auto; }
.b-image:not(.is-fill):not(.is-grow):not(.is-abs)[style*='aspect-ratio'] .img-wrap { height: 100%; }
.b-image.is-fill { flex: 1 1 0; min-height: 0; }
.b-image figcaption { font-size: calc(var(--fs) * .78); color: var(--fg-muted); }
.b-image.v-rounded .img-wrap { border-radius: var(--radius-lg); }
.b-image.v-plain .img-wrap, .b-image.v-cutout .img-wrap { border-radius: 0; overflow: visible; }
.b-image.v-cutout img { filter: drop-shadow(0 4mm 5mm rgba(8, 18, 36, .28)); }
.b-image.v-circle .img-wrap { border-radius: 50%; aspect-ratio: 1; }
.b-image.v-arch .img-wrap { border-radius: 999mm 999mm var(--radius) var(--radius); }
.b-image.v-framed .img-wrap { padding: 1.6cqmin; background: var(--surface); border: var(--rule-w) solid var(--rule); }
.img-empty { width: 100%; height: 100%; min-height: 20mm; display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--surface-2) 0 2mm, transparent 2mm 4mm); color: var(--fg-muted); font-size: 6mm; }

/* button */
.b-button { align-self: flex-start; display: inline-flex; }
.b-button a { display: inline-flex; align-items: center; gap: 1.6cqmin; padding: 1.5cqmin 3.2cqmin; border-radius: 99mm; font-weight: 700; font-size: calc(var(--fs) * .95); line-height: 1.3; }
.b-button .btn-solid { background: var(--hl); color: #fff; }
.b-button .btn-outline { border: var(--rule-w) solid currentColor; color: var(--fg); }
.b-button .btn-pill { background: var(--surface-2); color: var(--fg); }
.b-button .btn-link { padding-inline: 0; color: var(--hl); }
.b-button i { display: inline-grid; place-items: center; }

/* features */
.ft-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 2.6cqmin; }
.ft-item { display: flex; flex-direction: column; gap: 1.2cqmin; }
.ft-ico { display: inline-grid; place-items: center; width: 7.2cqmin; height: 7.2cqmin; border-radius: var(--radius); background: var(--surface-2); color: var(--hl); font-size: 3.6cqmin; }
.ft-num { font-family: var(--f-head); font-weight: 800; color: var(--hl); font-size: calc(var(--fs) * 1.6); line-height: 1; }
.ft-item h4 { font-family: var(--f-head); font-weight: 800; font-size: calc(var(--fs) * 1.16); line-height: 1.45; color: var(--fg); }
.ft-item p { font-size: calc(var(--fs) * .9); color: var(--fg-muted); line-height: 1.7; }
.v-cards .ft-item { background: var(--surface); border: var(--rule-w) solid var(--rule); border-radius: var(--radius); padding: 3cqmin; }
.v-line .ft-item { border-top: var(--rule-w) solid var(--rule); padding-top: 2.2cqmin; }
.v-row .ft-item { flex-direction: row; align-items: flex-start; gap: 2.2cqmin; }

/* stats */
.st-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 2.4cqmin; }
.st-item { display: flex; flex-direction: column; gap: .6cqmin; }
.st-val { font-family: var(--f-head); font-weight: 900; font-size: calc(5.2cqmin * var(--scale, 1)); line-height: 1.15; color: var(--fg); display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .8cqmin; }
.st-val .st-num { white-space: nowrap; }
.st-item.is-word .st-val { font-size: calc(3.6cqmin * var(--scale, 1)); line-height: 1.55; }
.v-plain .st-val { font-size: calc(7cqmin * var(--scale, 1)); }
/* compact index (toc on covers) */
.b-toc.v-index .toc-item { padding: 1.3cqmin 0; gap: 3cqmin; }
.b-toc.v-index .toc-dots, .b-toc.v-index .toc-p { display: none; }
.b-toc.v-index .toc-t { font-size: calc(var(--fs) * .95); font-weight: 600; font-family: var(--f-body); }
.b-toc.v-index .toc-i { color: var(--fg); font-size: calc(var(--fs) * .8); }
.st-val small { font-size: .42em; font-weight: 700; color: var(--hl); }
.st-label { font-size: calc(var(--fs) * .88); color: var(--fg-muted); line-height: 1.5; }
.v-cards .st-item { background: var(--surface); border: var(--rule-w) solid var(--rule); border-radius: var(--radius); padding: 2.8cqmin; }
.v-line .st-item { border-inline-start: .6mm solid var(--hl); padding-inline-start: 2.2cqmin; }

/* product */
.b-product .pr { display: flex; flex-direction: column; gap: 3cqmin; height: 100%; }
.b-product .pr-media { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; }
.b-product .pr-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.b-product.v-card .pr-media img, .b-product.v-compact .pr-media img { inset: 2cqmin; width: calc(100% - 4cqmin); height: calc(100% - 4cqmin); }
.b-product .pr-body { display: flex; flex-direction: column; gap: 1.4cqmin; min-width: 0; }
.pr-model { font-family: var(--f-head); font-weight: 800; font-size: calc(var(--fs) * .86); color: var(--hl); direction: ltr; text-align: start; unicode-bidi: plaintext; }
[dir=rtl] .pr-model { text-align: right; }
.lang-en .pr-model { letter-spacing: .08em; }
.pr-cat { font-size: calc(var(--fs) * .86); color: var(--fg-muted); }
.pr-title { font-family: var(--f-head); font-weight: 900; font-size: calc(5.2cqmin * var(--scale, 1)); line-height: 1.2; color: var(--fg); }
.pr-summary { color: var(--fg-muted); line-height: 1.8; }
.pr-hl, .sp-hl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4cqmin; margin-top: 1cqmin; }
.hl { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1.6cqmin; align-items: center; padding: 1.6cqmin 2cqmin; background: var(--surface); border: var(--rule-w) solid var(--rule); border-radius: var(--radius); }
.hl-ico { grid-row: span 2; display: grid; place-items: center; width: 5.4cqmin; height: 5.4cqmin; border-radius: calc(var(--radius) * .8); background: var(--surface-2); color: var(--hl); font-size: 2.8cqmin; }
.hl-label { font-size: calc(var(--fs) * .76); color: var(--fg-muted); line-height: 1.3; }
.hl-value { font-size: calc(var(--fs) * .98); font-weight: 800; color: var(--fg); line-height: 1.35; }
.pr-fin { display: flex; flex-wrap: wrap; gap: 1.2cqmin; }
.fin { display: inline-flex; align-items: center; gap: 1cqmin; font-size: calc(var(--fs) * .86); padding: .7cqmin 1.8cqmin .7cqmin 1.2cqmin; border-radius: 99mm; background: var(--surface-2); }
.fin i { width: 2.6cqmin; height: 2.6cqmin; border-radius: 50%; box-shadow: inset 0 0 0 .25mm rgba(0,0,0,.18), inset -.6mm -.6mm 1.2mm rgba(0,0,0,.18), inset .6mm .6mm 1mm rgba(255,255,255,.7); }
/* product variants */
.b-product.v-hero .pr-media { flex: 1 1 0; }
.b-product.v-hero { flex: 1 1 0; min-height: 0; }
.b-product.v-hero .pr-title { font-size: calc(6.4cqmin * var(--scale, 1)); }
.b-product.v-split .pr { flex-direction: row; align-items: center; gap: 5cqmin; }
.b-product.v-split .pr-media { flex: 1 1 0; align-self: stretch; }
.b-product.v-split .pr-body { flex: 1 1 0; }
.b-product.v-card .pr { background: var(--surface); border: var(--rule-w) solid var(--rule); border-radius: var(--radius-lg); padding: 3cqmin; gap: 2cqmin; }
.b-product.v-card .pr-media { aspect-ratio: 4 / 3; background: var(--surface-2); border-radius: var(--radius); padding: 2cqmin; }
.b-product.v-card .pr-title { font-size: calc(3.2cqmin * var(--scale, 1)); }
.b-product.v-card .pr-hl { grid-template-columns: 1fr; }
.b-product.v-compact .pr { flex-direction: row; align-items: center; gap: 3cqmin; }
.b-product.v-compact .pr-media { width: 28%; flex: none; aspect-ratio: 1; }
.b-product.v-compact .pr-title { font-size: calc(3.4cqmin * var(--scale, 1)); }
@container page (min-aspect-ratio: 19 / 20) {
  .b-product.v-hero .pr { flex-direction: row; align-items: center; gap: 5cqmin; }
  .b-product.v-hero .pr-media { align-self: stretch; }
  .b-product.v-hero .pr-body { flex: 0 0 46%; }
  .b-product.v-hero .pr-hl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1cqmin; }
  .b-product.v-hero .hl { padding: 1.1cqmin 1.8cqmin; }
}

/* product grid */
.pc-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 2.6cqmin; }
.pc { position: relative; display: flex; flex-direction: column; gap: 1.6cqmin; background: var(--surface); border: var(--rule-w) solid var(--rule); border-radius: var(--radius-lg); padding: 2.6cqmin; overflow: hidden; }
.pc-num { position: absolute; top: 2.2cqmin; inset-inline-start: 2.6cqmin; font-family: var(--f-head); font-weight: 800; color: var(--hl); font-size: calc(var(--fs) * .95); z-index: 1; }
.pc-media { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--surface-2); border-radius: var(--radius); }
.pc-media img { width: 88%; height: 88%; object-fit: contain; }
.pc-model { font-size: calc(var(--fs) * .74); font-weight: 800; color: var(--hl); direction: ltr; text-align: start; }
[dir=rtl] .pc-model { text-align: right; }
.pc h4 { font-family: var(--f-head); font-weight: 900; font-size: calc(var(--fs) * 1.3); line-height: 1.35; }
.pc-hl { display: flex; flex-wrap: wrap; gap: .8cqmin; }
.pc-hl span { font-size: calc(var(--fs) * .76); padding: .3cqmin 1.4cqmin; border-radius: 99mm; background: var(--surface-2); color: var(--fg-muted); }
.pc-go { position: absolute; top: 2cqmin; inset-inline-end: 2cqmin; width: 5.4cqmin; height: 5.4cqmin; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--page-bg); font-size: 2.6cqmin; }
.pc-sum { display: none; font-size: calc(var(--fs) * .88); color: var(--fg-muted); line-height: 1.7; }
.v-list .pc-grid { grid-template-columns: 1fr; grid-auto-rows: 1fr; height: 100%; }
.v-list .pc { flex-direction: row; align-items: stretch; gap: 4cqmin; padding: 2.6cqmin; }
.v-list .pc-media { width: 40%; flex: none; aspect-ratio: auto; }
.v-list .pc-body { display: flex; flex-direction: column; justify-content: center; gap: 1.2cqmin; padding-inline-end: 6cqmin; }
.v-list .pc h4 { font-size: calc(var(--fs) * 1.7); }
.v-list .pc-sum { display: block; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.v-list .pc-num { font-size: calc(var(--fs) * 1.2); }

/* specs */
.b-specs { display: flex; flex-direction: column; }
.sp-title { font-family: var(--f-head); font-weight: 800; font-size: calc(var(--fs) * 1.15); margin-bottom: 1.6cqmin; color: var(--fg); }
.sp-matrix, .sp-table, .tb { width: 100%; border-collapse: separate; border-spacing: 0; font-size: calc(var(--fs) * .8); line-height: 1.35; }
.sp-matrix { table-layout: fixed; }
.sp-matrix th, .sp-matrix td { text-align: center; padding: .85cqmin .15cqmin; border-bottom: var(--rule-w) solid var(--rule); }
.sp-matrix thead th { font-weight: 800; color: var(--fg); vertical-align: bottom; background: var(--surface-2); }
.sp-matrix thead th small { display: block; font-weight: 400; color: var(--fg-muted); font-size: .78em; }
.sp-matrix thead th span { display: block; direction: ltr; }
.sp-matrix .sp-corner { width: 14%; text-align: start; padding-inline: 1.4cqmin; }
.sp-matrix .sp-corner span { font-weight: 800; }
.sp-matrix tbody th { text-align: start; padding-inline: 1.4cqmin; font-family: var(--f-head); font-size: 1.1em; color: var(--fg); }
.sp-matrix tbody tr:nth-child(odd) td, .sp-matrix tbody tr:nth-child(odd) th { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.sp-matrix thead tr th:first-child { border-start-start-radius: var(--radius); }
.sp-matrix thead tr th:last-child { border-start-end-radius: var(--radius); }
.dotc { display: inline-block; width: 1.9cqmin; height: 1.9cqmin; border-radius: 50%; background: var(--hl); vertical-align: middle; }
.sp-foot { margin-top: 1.4cqmin; font-size: calc(var(--fs) * .82); color: var(--fg-muted); }
.sp-foot b { color: var(--hl); font-family: var(--f-head); font-size: 1.2em; }
.sp-table th, .sp-table td, .tb th, .tb td { padding: 1.05cqmin 1.4cqmin; border-bottom: var(--rule-w) solid var(--rule); text-align: start; vertical-align: middle; }
.sp-table thead th, .tb thead th { background: var(--c-primary); color: #fff; font-weight: 700; }
.pv-dark .sp-table thead th, .pv-dark .tb thead th { background: var(--surface-2); }
.sp-table thead th:first-child, .tb thead th:first-child { border-start-start-radius: var(--radius); }
.sp-table thead th:last-child, .tb thead th:last-child { border-start-end-radius: var(--radius); }
.sp-table tbody th { font-family: var(--f-head); font-size: 1.12em; color: var(--fg); white-space: nowrap; }
.sp-table td { color: var(--fg); }
.sp-table tbody tr:nth-child(even) > *, .tb tbody tr:nth-child(even) > * { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.sp-common { display: flex; flex-wrap: wrap; gap: 1cqmin 3cqmin; margin-bottom: 1.6cqmin; font-size: calc(var(--fs) * .82); }
.sp-common span { display: inline-flex; gap: 1.2cqmin; align-items: baseline; }
.sp-common small { color: var(--fg-muted); font-size: 1em; }
.sp-common small::after { content: ':'; }
.sp-common b { color: var(--fg); }
.sp-lengths { display: flex; flex-direction: column; gap: 1.4cqmin; }
.sp-len-row { display: grid; grid-template-columns: 10cqmin 1fr; align-items: center; gap: 1.6cqmin; }
.sp-len-row b { font-family: var(--f-head); font-size: calc(var(--fs) * 1.2); }
.sp-pills { display: flex; flex-wrap: wrap; gap: .8cqmin; }
.sp-pills span { font-size: calc(var(--fs) * .78); padding: .3cqmin 1.3cqmin; border-radius: 99mm; border: var(--rule-w) solid var(--rule); direction: ltr; }
.sp-hl { grid-template-columns: repeat(var(--hl-cols, 3), minmax(0, 1fr)); }

/* toc */
.toc { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: 5cqmin; }
.toc-item { display: flex; align-items: baseline; gap: 2cqmin; padding: 1.9cqmin 0; border-bottom: var(--rule-w) solid var(--rule); }
.orient-landscape .toc-item { padding-block: 1.3cqmin; }
.toc-i { font-family: var(--f-head); font-weight: 800; color: var(--hl); font-size: calc(var(--fs) * .9); min-width: 5cqmin; }
.toc-t { font-family: var(--f-head); font-weight: 800; font-size: calc(var(--fs) * 1.3); color: var(--fg); }
.toc-dots { flex: 1; border-bottom: .3mm dotted var(--rule); transform: translateY(-.6cqmin); }
.toc-p { font-family: var(--f-head); font-weight: 700; color: var(--fg-muted); }

/* gallery */
.gl-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 1.6cqmin; height: 100%; }
.gl-item { overflow: hidden; border-radius: var(--radius); background: var(--surface-2); min-height: 0; }
.gl-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b-gallery.is-grow .gl-grid { grid-auto-rows: 1fr; }
.v-mosaic .gl-grid { grid-auto-rows: 1fr; }
.v-mosaic .gl-item:first-child { grid-column: span 2; grid-row: span 2; }

/* quote */
.b-quote blockquote { display: flex; flex-direction: column; gap: 1.6cqmin; }
.q-mark { color: var(--hl); font-size: 7cqmin; line-height: 1; }
[dir=rtl] .q-mark svg { transform: scaleX(-1); }
.b-quote p { font-family: var(--f-head); font-weight: 700; font-size: calc(3.2cqmin * var(--scale, 1)); line-height: 1.6; color: var(--fg); }
.b-quote cite { font-style: normal; color: var(--fg-muted); font-size: calc(var(--fs) * .9); }

/* contact */
.ct-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 2cqmin 4cqmin; }
.ct-row { display: flex; gap: 2cqmin; align-items: flex-start; }
.ct-ico { flex: none; display: grid; place-items: center; width: 6cqmin; height: 6cqmin; border-radius: 50%; background: var(--surface-2); color: var(--hl); font-size: 2.8cqmin; }
.ct-row > div > small { display: block; font-size: calc(var(--fs) * .76); color: var(--fg-muted); line-height: 1.4; }
.ct-row > div > span, .ct-row > div > a { display: block; font-weight: 700; color: var(--fg); line-height: 1.6; }
.ct-row > div > a[href^='tel'], .ct-row > div > a[href^='mailto'], .ct-row > div > a[href^='http'] { unicode-bidi: plaintext; }

/* qr */
.b-qr { display: flex; flex-direction: column; gap: 1.4cqmin; align-items: flex-start; align-self: flex-start; }
.b-qr.al-center { align-items: center; }
.qr-box { width: var(--qr); height: var(--qr); background: #fff; border-radius: var(--radius); padding: 1.2mm; --qr-fg: #0b1f3a; }
.qr-box svg { width: 100%; height: 100%; display: block; }
.qr-label { font-size: calc(var(--fs) * .78); color: var(--fg-muted); max-width: calc(var(--qr) * 1.6); line-height: 1.5; }

/* divider, spacer, shapes, words */
.b-divider { padding: .6cqmin 0; }
.dv-line { display: block; height: var(--rule-w); background: var(--rule); }
.b-divider.v-accent .dv-line { width: 12cqmin; height: 1mm; background: var(--hl); border-radius: 1mm; }
.b-divider.v-thick .dv-line { height: .8mm; background: var(--fg); }
.b-divider.v-dots .dv-line { height: 1.2mm; background: radial-gradient(circle, var(--rule) 40%, transparent 42%) 0 0 / 2.4mm 1.2mm repeat-x; }
.b-shape > div { width: 100%; height: 100%; background: var(--sc); }
.b-shape .sh-circle { border-radius: 50%; }
.b-shape .sh-arch { border-radius: 999mm 999mm 0 0; }
.b-shape .sh-ring { background: transparent; border: .5mm solid var(--sc); border-radius: 50%; }
.b-shape .sh-line { height: .3mm; }
.b-shape .sh-rounded { border-radius: var(--radius-lg); }
.b-shape:not(.is-abs) > div { min-height: 4mm; }
.b-word { font-family: var(--f-head); font-weight: 900; font-size: calc(var(--ws) * 1cqmin); line-height: .9; white-space: nowrap; color: var(--bc, var(--fg)); pointer-events: none; }
.b-word.v-outline { color: transparent; -webkit-text-stroke: .35mm var(--bc, var(--fg)); }
.b-word.v-faded { opacity: .07; }
.b-word.v-soft { color: var(--bc, var(--surface-2)); }

/* logo */
.b-logo { display: flex; align-items: center; gap: 2.6cqmin; align-self: flex-start; }
.b-logo.al-center { align-self: center; }
.b-logo.al-end { align-self: flex-end; }
.lg-svg svg { height: var(--lh); width: auto; display: block; }
.b-logo.tone-white { --logo-light: #fff; --logo-accent: #fff; }
.b-logo.tone-dark { --logo-light: var(--c-ink); }
.b-logo.tone-light { --logo-light: #fff; }
.b-logo.tone-mono { --logo-light: var(--fg); --logo-accent: var(--fg); }
.lg-name { display: flex; flex-direction: column; line-height: 1.35; }
.lg-name b { font-family: var(--f-head); font-weight: 800; font-size: calc(var(--lh) * .3); color: var(--fg); }
.lg-name small { font-size: calc(var(--lh) * .19); color: var(--fg-muted); }

/* chips, lists, steps, finishes */
.chips { display: flex; flex-wrap: wrap; gap: 1.2cqmin; }
.chips span { padding: .6cqmin 2cqmin; border-radius: 99mm; border: var(--rule-w) solid var(--rule); font-weight: 700; font-size: calc(var(--fs) * .84); direction: ltr; unicode-bidi: isolate; color: var(--fg); }
.b-chips.v-solid .chips span { background: var(--hl); border-color: var(--hl); color: #fff; }
.b-chips.v-soft .chips span { background: var(--surface-2); border-color: transparent; }
.ls { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1.2cqmin; }
.ls li { display: flex; gap: 1.6cqmin; align-items: baseline; }
.ls-mark { color: var(--hl); flex: none; font-weight: 800; font-family: var(--f-head); }
.ls-mark .ico { transform: translateY(.15em); }
.stp-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 2.4cqmin; counter-reset: s; }
.sp-step { position: relative; display: flex; flex-direction: column; gap: 1cqmin; padding-top: 3cqmin; border-top: .6mm solid var(--rule); }
.sp-step::before { content: ''; position: absolute; top: -.6mm; inset-inline-start: 0; width: 30%; height: .6mm; background: var(--hl); }
.stp-n { font-family: var(--f-head); font-weight: 900; font-size: calc(var(--fs) * 2); line-height: 1; color: var(--hl); }
.stp-ico { color: var(--hl); font-size: 3.8cqmin; }
.sp-step h4 { font-family: var(--f-head); font-weight: 800; font-size: calc(var(--fs) * 1.15); color: var(--fg); line-height: 1.45; }
.sp-step p { font-size: calc(var(--fs) * .88); color: var(--fg-muted); line-height: 1.7; }
.fn-grid { display: flex; flex-wrap: wrap; gap: 2.4cqmin; }
.sp-table td.ltr { text-align: start; }
.sp-table bdi { unicode-bidi: isolate; }
.fn-item { display: flex; flex-direction: column; align-items: center; gap: 1.2cqmin; font-size: calc(var(--fs) * .88); }
.fn-sw { width: 8cqmin; height: 8cqmin; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.85), transparent 42%), linear-gradient(140deg, var(--sw), color-mix(in srgb, var(--sw) 55%, #000)); box-shadow: inset 0 0 0 .3mm rgba(0,0,0,.12), 0 1.4mm 3mm rgba(0,0,0,.14); overflow: hidden; }
.fn-sw img { width: 100%; height: 100%; object-fit: cover; }
.fn-item b { color: var(--fg); }

/* section / columns */
.b-section > .cols { display: flex; gap: var(--sgap, 4cqmin); align-items: stretch; height: 100%; }
.b-section .col { position: relative; display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.b-section .col.has-bg { border-radius: var(--radius); padding: 3.4cqmin; }
.b-section.v-card .col { background: var(--surface); border: var(--rule-w) solid var(--rule); border-radius: var(--radius-lg); padding: 3.2cqmin; }
@container page (orientation: portrait) {
  .stack-portrait > .cols { flex-direction: column; }
}
@container page (max-aspect-ratio: 23 / 20) {
  .stack-narrow > .cols { flex-direction: column; }
}
@container page (max-aspect-ratio: 9 / 10) {
  .stack-tall > .cols { flex-direction: column; }
}
.stack-portrait > .cols > .col, .stack-narrow > .cols > .col, .stack-tall > .cols > .col { flex-basis: auto; }
@container page (orientation: landscape) {
  .stack-portrait > .cols > .col, .stack-narrow > .cols > .col, .stack-tall > .cols > .col { flex-basis: 0; }
}

.empty-ref { display: flex; align-items: center; gap: 2cqmin; padding: 4cqmin; border: .4mm dashed var(--rule); border-radius: var(--radius); color: var(--fg-muted); justify-content: center; font-size: calc(var(--fs) * 1.1); }

/* ───────────── viewer animations (mode-view only; print and builder render static) ───────────── */
.mode-view [data-anim] {
  transition: opacity var(--adur, 900ms) cubic-bezier(.2, .75, .25, 1) var(--ad, 0ms), translate var(--adur, 900ms) cubic-bezier(.2, .75, .25, 1) var(--ad, 0ms),
    scale var(--adur, 1100ms) cubic-bezier(.2, .75, .25, 1) var(--ad, 0ms), filter var(--adur, 900ms) ease var(--ad, 0ms), clip-path var(--adur, 1100ms) cubic-bezier(.7, 0, .2, 1) var(--ad, 0ms), rotate var(--adur, 1000ms) cubic-bezier(.2, .75, .25, 1) var(--ad, 0ms);
}
.mode-view .cat-page:not(.is-in) [data-anim] { transition-duration: 0s; transition-delay: 0s; }
.mode-view .cat-page:not(.is-in) [data-anim='fade'] { opacity: 0; }
.mode-view .cat-page:not(.is-in) [data-anim='fade-up'] { opacity: 0; translate: 0 5cqmin; }
.mode-view .cat-page:not(.is-in) [data-anim='fade-down'] { opacity: 0; translate: 0 -5cqmin; }
.mode-view .cat-page:not(.is-in) [data-anim='slide-start'] { opacity: 0; translate: -8cqmin 0; }
.mode-view .cat-page:not(.is-in) [data-anim='slide-end'] { opacity: 0; translate: 8cqmin 0; }
[dir=rtl].mode-view .cat-page:not(.is-in) [data-anim='slide-start'] { translate: 8cqmin 0; }
[dir=rtl].mode-view .cat-page:not(.is-in) [data-anim='slide-end'] { translate: -8cqmin 0; }
.mode-view .cat-page:not(.is-in) [data-anim='zoom'] { opacity: 0; scale: .84; }
.mode-view .cat-page:not(.is-in) [data-anim='zoom-out'] { opacity: 0; scale: 1.12; }
.mode-view .cat-page:not(.is-in) [data-anim='blur'] { opacity: 0; filter: blur(3mm); }
.mode-view .cat-page:not(.is-in) [data-anim='rotate'] { opacity: 0; rotate: -10deg; scale: .9; }
.mode-view .cat-page:not(.is-in) [data-anim='float'] { opacity: 0; translate: 0 8cqmin; rotate: 4deg; }
.mode-view .cat-page:not(.is-in) [data-anim='reveal'] { clip-path: inset(0 100% 0 0); }
[dir=rtl].mode-view .cat-page:not(.is-in) [data-anim='reveal'] { clip-path: inset(0 0 0 100%); }
.mode-view .cat-page.is-in [data-anim='reveal'] { clip-path: inset(0 0 0 0); }
.mode-view .cat-page.is-in [data-anim='float'] .pr-media img, .mode-view .cat-page.is-in .b-image.v-cutout[data-anim] img { animation: cat-hover 6s ease-in-out calc(var(--ad, 0ms) + 1.2s) infinite; }
@keyframes cat-hover { 0%, 100% { translate: 0 0; } 50% { translate: 0 -1.4cqmin; } }
.mode-view .cat-page.is-in .pg-deco > * { animation: cat-deco 1.6s cubic-bezier(.2, .75, .25, 1) both; }
.mode-view .cat-page.is-in .pg-deco > *:nth-child(2) { animation-delay: .15s; }
.mode-view .cat-page.is-in .pg-deco > *:nth-child(3) { animation-delay: .3s; }
@keyframes cat-deco { from { opacity: 0; } to { opacity: 1; } }
.mode-view .cat-page.is-in .dotc { animation: cat-pop .5s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--ad, 0ms) + 300ms); }
@keyframes cat-pop { from { scale: 0; } to { scale: 1; } }
@media (prefers-reduced-motion: reduce) {
  .mode-view [data-anim] { transition: none !important; opacity: 1 !important; translate: none !important; scale: none !important; filter: none !important; clip-path: none !important; }
}

/* Latin text in heavy Persian display faces: their space glyph is narrow, so open word spacing for English. */
.lang-en .cat-page { word-spacing: .04em; }
.lang-en .b-heading, .lang-en .pr-title, .lang-en .pc h4, .lang-en .ft-item h4, .lang-en .sp-step h4, .lang-en .toc-t, .lang-en .b-quote p, .lang-en .st-val, .lang-en .sp-title, .lang-en .ch-brand, .lang-en .lg-name b { word-spacing: .16em; }
.lang-en .b-heading.v-display { letter-spacing: -.01em; word-spacing: .18em; }
.orient-square .pk-values .b-quote p { font-size: calc(2.7cqmin * var(--scale, 1)); }
.orient-square .pk-cover .pg-body.pad-cover { --pad-t: 6.4cqmin; --pad-b: 6.4cqmin; }
/* square pages: narrower columns, so hero titles and spec-page swatches need to be more compact */
.orient-square .b-product.v-hero .pr-title { font-size: calc(5cqmin * var(--scale, 1)); }
.orient-square .pk-specs .fn-grid { gap: 1.6cqmin; }
.orient-square .pk-specs .fn-sw { width: 6cqmin; height: 6cqmin; }
