/* Consistent product-section rhythm; preserve cards, text and controls. */
html[lang="fa"] { --nx-section-rhythm: 72px; }
html[lang="fa"] .nx-purchase-content > .p-hero,
html[lang="fa"] body.nx-product main:not(.nx-purchase-shell) > .p-hero { padding-bottom: 0!important; }
html[lang="fa"] body.nx-product main section#product-features.sec,
html[lang="fa"] body.nx-product main section#product-specifications.sec { padding-block:var(--nx-section-rhythm) 0!important; }
html[lang="fa"] body main .nx-purchase-content > section.site-faq { margin-top:var(--nx-section-rhythm)!important; }
html[lang="fa"] body.nx-product main > section.site-faq { margin-top:var(--nx-section-rhythm)!important; margin-bottom:0!important; }
html[lang="fa"] body.nx-product main > section.nx-get-product { padding-block:var(--nx-section-rhythm) 0!important; }
html[lang="fa"] .atlas-grid-content > .atlas-section,
html[lang="fa"] .atlas-grid-content > .atlas-faq { margin-top:var(--nx-section-rhythm)!important; }
html[lang="fa"] main:has(> .ng-experience) > .ng-experience { padding-bottom:0!important; }
html[lang="fa"] main:has(> .ng-experience) > .ng-section { margin-block:var(--nx-section-rhythm) 0!important; }
html[lang="fa"] main:has(> .ng-experience) > .ng-anchor { height:0!important; padding:0!important; scroll-margin-top:110px; }
/* Group the heading and description instead of splitting them across the row. */
html[lang="fa"] .n-catalogue .cat > header { display:flex!important; flex-direction:column!important; align-items:flex-start!important; justify-content:flex-start!important; gap:12px!important; text-align:right!important; }
html[lang="fa"] .n-catalogue .cat > header p { max-width:68ch!important; text-align:right!important; }
/* Decorative collaboration motif: no mouse events, no simulated presence data. */
html[lang="fa"] .n-catalogue-head .nx-collab-art { position:absolute; left:24px; top:24px; width:40%; height:calc(100% - 48px); overflow:hidden; border-radius:14px; pointer-events:none; z-index:1; direction:ltr; }
.nx-collab-frame {position:absolute;left:19%;top:22%;width:54%;height:52%;border:1.5px solid #b5a0ff;box-shadow:0 0 0 1px rgba(25,14,61,.2),0 0 24px rgba(143,115,255,.16);animation:nx-frame-shift 11s ease-in-out infinite;}
.nx-collab-frame:before,.nx-collab-frame:after {content:"";position:absolute;width:7px;height:7px;border:1px solid #7554dd;background:#fff;top:-5px;}
.nx-collab-frame:before {left:-5px}.nx-collab-frame:after {right:-5px}
.nx-collab-handle {position:absolute;width:7px;height:7px;border:1px solid #7554dd;background:#fff;bottom:-5px;left:-5px}.nx-collab-handle:last-child {left:auto;right:-5px}
.nx-collab-cursor {position:absolute;display:flex;align-items:flex-start;gap:2px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.35));will-change:transform;}
.nx-collab-cursor svg {width:19px;height:23px;flex:none;}
.nx-collab-cursor span {font:600 12px/1.2 system-ui,sans-serif;color:#fff;padding:5px 8px;border-radius:6px;white-space:nowrap;}
.nx-collab-cursor--one {left:68%;top:26%;animation:nx-cursor-one 11s ease-in-out infinite;}
.nx-collab-cursor--one span {background:#7254d4}
.nx-collab-cursor--two {left:30%;top:72%;animation:nx-cursor-two 13s ease-in-out infinite;}
.nx-collab-cursor--two span {background:#bd4d25}
@keyframes nx-cursor-one {0%,100%{transform:translate(0,0)}30%{transform:translate(-22px,17px)}60%{transform:translate(9px,25px)}80%{transform:translate(3px,4px)}}
@keyframes nx-cursor-two {0%,100%{transform:translate(0,0)}35%{transform:translate(23px,-16px)}70%{transform:translate(8px,-24px)}}
@keyframes nx-frame-shift {0%,100%{transform:scale(1)}50%{transform:scale(.96)}}
@media(max-width:700px){
 html[lang="fa"] {--nx-section-rhythm:48px;}
 html[lang="fa"] .n-catalogue-head .nx-collab-art {left:28px;top:28px;width:calc(100% - 56px);height:150px;}
 .nx-collab-frame {left:16%;top:18%;width:54%;height:55%}
 .nx-collab-cursor--one {left:59%;top:23%}.nx-collab-cursor--two {left:23%;top:68%}
 .nx-collab-cursor svg {width:16px;height:20px}.nx-collab-cursor span{font-size:11px;padding:4px 6px}
}
@media(prefers-reduced-motion:reduce){.nx-collab-frame,.nx-collab-cursor {animation:none!important;will-change:auto}}
/* Override legacy product-specific spacing without changing the sticky controls. */
html[lang="fa"][data-theme] body.n-site.nx-product .nx-purchase-content > section#product-features.sec,
html[lang="fa"][data-theme] body.n-site.nx-product .nx-purchase-content > section#product-specifications.sec {padding-top:var(--nx-section-rhythm)!important;padding-bottom:0!important;}
html[lang="fa"][data-theme] body.n-site.nx-product .nx-purchase-content > section#site-faq.site-faq {margin-top:var(--nx-section-rhythm)!important;}
html[lang="fa"] body.nx-product main > .nx-context-slot + section#product-features.sec {margin-top:calc(-1 * min(53px, var(--nx-section-rhythm)))!important;}
