/* Persian editorial text: never insert tatweel or track joined letters. */
@supports (text-justify: inter-word) {
 html[lang="fa"] main p:not(.crumbs):not([role="status"]):not([aria-live]):not(.p-tag):not(.lede):not(.atlas-tagline):not(.atlas-lede):not(.policy-date) { text-align: justify; text-align-last: right; text-justify: inter-word; letter-spacing: normal; }
}
/* Product catalogue */
html[lang="fa"] .n-catalogue-head { display:flex!important; flex-direction:column!important; align-items:stretch!important; gap:18px!important; padding:clamp(28px,5vw,64px)!important; border:1px solid rgba(128,128,128,.22)!important; border-radius:24px!important; background:linear-gradient(135deg,rgba(255,111,46,.12),transparent 57%),var(--surface,#f7f6f3)!important; }
html[lang="fa"] .n-catalogue-head .page-h1 { margin:0!important; font-size:clamp(38px,5vw,70px)!important; line-height:1.2!important; }
html[lang="fa"] .n-catalogue-intro { display:flex!important; flex-direction:column!important; align-items:flex-start!important; gap:20px!important; max-width:650px!important; }
html[lang="fa"] .n-catalogue-intro p { font-size:clamp(17px,1.4vw,20px)!important; line-height:1.9!important; margin:0!important; text-align:right!important; }
html[lang="fa"] .n-catalogue-intro nav { display:flex!important; flex-wrap:wrap!important; gap:8px!important; }
html[lang="fa"] .n-catalogue .cat { margin-top:clamp(48px,6vw,80px)!important; }
html[lang="fa"] .n-catalogue .cat > header { display:flex!important; flex-wrap:wrap!important; align-items:end!important; justify-content:space-between!important; gap:16px 32px!important; margin-bottom:24px!important; }
html[lang="fa"] .n-catalogue .cat > header h2 { margin:0!important; }
html[lang="fa"] .n-catalogue .cat > header p { max-width:530px!important; line-height:1.9!important; margin:0!important; }
html[lang="fa"] .n-catalogue .bento { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:20px!important; }
html[lang="fa"] .n-catalogue .tile { display:flex!important; flex-direction:column!important; min-width:0!important; overflow:hidden!important; border-radius:18px!important; transition:transform .2s ease,border-color .2s ease!important; }
html[lang="fa"] .n-catalogue .tile:hover { transform:translateY(-4px); border-color:rgba(255,111,46,.55)!important; }
html[lang="fa"] .n-catalogue .tile .ph { width:100%!important; aspect-ratio:4/3!important; }
html[lang="fa"] .n-catalogue .tile .body { flex:1!important; display:flex!important; flex-direction:column!important; gap:12px!important; padding:22px!important; }
html[lang="fa"] .n-catalogue .tile .tg { line-height:1.8!important; }
html[lang="fa"] .n-catalogue .tile .meta { margin-top:auto!important; padding-top:12px!important; }
/* Plugin hero: media first, then product identity and summary. */
html[lang="fa"] .p-hero .hero-panel { display:flex!important; flex-direction:column!important; align-items:stretch!important; gap:24px!important; padding:clamp(18px,3vw,32px)!important; }
html[lang="fa"] .p-hero .hero-media { order:0!important; width:100%!important; max-width:none!important; margin:0!important; }
html[lang="fa"] .p-hero .hero-copy { order:1!important; width:100%!important; min-height:0!important; margin:0!important; padding:0!important; }
html[lang="fa"] .p-hero .nx-product-title { width:100%!important; align-items:flex-start!important; text-align:right!important; }
html[lang="fa"] .p-hero .nx-product-title h1 { margin-block:8px 12px!important; }
html[lang="fa"] .p-hero .nx-product-actions .cta-row a[href="#product-features"], html[lang="fa"] .p-hero .policy-request-note, html[lang="fa"] .atlas-feature-link { display:none!important; }
html[lang="fa"] .atlas-hero-card { display:flex!important; flex-direction:column!important; align-items:stretch!important; gap:24px!important; }
html[lang="fa"] .atlas-hero-media { order:0!important; width:100%!important; }
html[lang="fa"] .atlas-hero-copy { order:1!important; width:100%!important; }
@media (max-width:850px) { html[lang="fa"] .n-catalogue .bento {grid-template-columns:repeat(2,minmax(0,1fr))!important;} }
@media (max-width:560px) { html[lang="fa"] .n-catalogue .bento {grid-template-columns:1fr!important;} html[lang="fa"] .n-catalogue-head{border-radius:18px!important;} html[lang="fa"] .n-catalogue .cat > header {align-items:start!important; flex-direction:column!important;} }
@media (prefers-reduced-motion:reduce) {html[lang="fa"] .n-catalogue .tile{transition:none!important;}}
/* Actual product artwork, retained in the brand's existing visual language. */
html[lang="fa"] .n-catalogue-head {position:relative!important; overflow:hidden!important;}
html[lang="fa"] .n-catalogue-head::before {content:""; position:absolute; inset:24px auto 24px 24px; width:40%; border-radius:14px; background:#242126 url('/assets/nourix-art-gridcraft-pro-20261114.webp') center/cover no-repeat;}
html[lang="fa"] .n-catalogue-head .page-h1, html[lang="fa"] .n-catalogue-head .n-catalogue-intro {position:relative; width:55%;}
html[lang="fa"] .n-catalogue-intro nav a {border:1px solid rgba(128,128,128,.3)!important; border-radius:10px!important; padding:10px 14px!important; min-height:44px!important;}
html[lang="fa"] .p-hero .hero-panel {position:relative!important;}
html[lang="fa"] .p-hero .hero-copy {display:flex!important;}
html[lang="fa"] .p-hero .ptitle {position:absolute!important; top:clamp(28px,4vw,48px)!important; left:clamp(28px,4vw,48px)!important; width:auto!important; z-index:2;}
@media(max-width:700px) {
 html[lang="fa"] .n-catalogue-head {display:flex!important;}
 html[lang="fa"] .n-catalogue-head::before {position:relative!important; inset:auto!important; display:block!important; width:100%!important; height:150px!important; flex:none;}
 html[lang="fa"] .n-catalogue-head .page-h1, html[lang="fa"] .n-catalogue-head .n-catalogue-intro {width:100%!important;}
 html[lang="fa"] .p-hero .ptitle {top:28px!important; left:28px!important;}
}
@media(min-width:561px){html[lang="fa"] .n-catalogue .cat > header{flex-direction:row!important;direction:rtl!important;}}
html[lang="fa"] main p.atlas-demo-note {text-align:right!important;text-align-last:right!important;}
html[lang="fa"] .n-catalogue .tile .body {padding-top:54px!important;}
html[lang="fa"] .p-hero .p-tag, html[lang="fa"] .p-hero .lede, html[lang="fa"] .atlas-tagline, html[lang="fa"] .atlas-lede {text-align:right!important;text-align-last:right!important;}
/* Narrow columns tend to create very wide gaps in Persian; keep text readable. */
@media(max-width:480px){html[lang="fa"] main p:not(.crumbs):not([role="status"]):not([aria-live]){text-align:right!important;text-align-last:right!important;}}
