@font-face{
  font-family:'TJUI';
  src:url('./fonts/NotoSansArabicUI-Regular.ttf') format('truetype');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{font-family:'TJIranianSans';src:url('./fonts/IranianSans-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'TJYekan';src:url('./fonts/YekanBakh-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'TJYekan';src:url('./fonts/YekanBakh-SemiBold.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'TJYekan';src:url('./fonts/YekanBakh-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'TJYekan';src:url('./fonts/YekanBakh-ExtraBold.ttf') format('truetype');font-weight:800 900;font-style:normal;font-display:swap}
@font-face{font-family:'TJMitra';src:url('./fonts/BMitra-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'TJMitra';src:url('./fonts/BMitra-Bold.ttf') format('truetype');font-weight:700 900;font-style:normal;font-display:swap}
@font-face{font-family:'TJCard';src:url('./fonts/NotoSansArabic-Bold.ttf') format('truetype');font-weight:700 900;font-style:normal;font-display:swap}
@font-face{
  font-family:'TJUI';
  src:url('./fonts/NotoSansArabicUI-Bold.ttf') format('truetype');
  font-weight:700 900;
  font-style:normal;
  font-display:swap;
}

:root{
  --tj-primary:#cb6d4f;
  --tj-primary-dark:#9f523b;
  --tj-accent:#d79c52;
  --tj-accent-soft:#fff5e9;
  --tj-rose:#bf7a6a;
  --tj-rose-soft:#fff2ef;
  --tj-violet-soft:#f6f0f6;
  --tj-olive-soft:#f8f5ee;
  --tj-hero-start:#215acb;
  --tj-hero-end:#16a5d8;
  --tj-text:#4e4037;
  --tj-text-soft:#6f6055;
  --tj-heading:#5c3f32;
  --tj-heading-2:#8a5b47;
  --tj-heading-3:#8b7450;
  --tj-border:#ebe3db;
  --tj-bg:#fbf9f6;
  --tj-white:#fff;
  --tj-radius:20px;
  --tj-shadow:0 12px 30px rgba(77,58,46,.07);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(180deg,#fdfcfb 0%,#faf7f3 100%);color:var(--tj-text);font-family:'TJYekan','TJUI',Tahoma,Arial,sans-serif;line-height:1.85;direction:rtl;font-size:15px}
a{color:var(--tj-primary);text-decoration:none;transition:.18s ease}a:hover{color:var(--tj-primary-dark)}
img{max-width:100%;height:auto}.tj-container{width:min(1220px,calc(100% - 34px));margin-inline:auto}.screen-reader-text{position:absolute;right:-9999px}

.tj-site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(203,109,79,.09);box-shadow:0 8px 24px rgba(77,58,46,.04)}
body.admin-bar .tj-site-header{top:32px}
.tj-topbar{border-bottom:1px solid rgba(203,109,79,.08);font-size:12px;color:#7a6a5f;background:rgba(255,255,255,.8)}
.tj-topbar-inner,.tj-header-inner,.tj-footer-bottom-inner{display:flex;align-items:center;justify-content:space-between;gap:18px}
.tj-topbar-inner{padding:8px 0}.tj-topbar-right,.tj-topbar-left{display:flex;align-items:center;gap:16px}.tj-topbar a{color:#7a6a5f;font-weight:700}
.tj-header-inner{padding:12px 0}.tj-brand{display:flex;align-items:center;gap:12px;color:var(--tj-text);min-width:max-content}.tj-brand img{width:62px;height:62px;border-radius:50%;object-fit:cover;box-shadow:0 10px 22px rgba(42,69,156,.12)}.tj-brand strong{display:block;font-size:21px;font-weight:800;color:var(--tj-heading);line-height:1.2}.tj-brand small{display:block;color:var(--tj-text-soft);font-size:12px;margin-top:2px}
.tj-nav{flex:1;display:flex;justify-content:center}.tj-menu{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.tj-menu a{font-size:14px;font-weight:700;color:#64554c;padding:8px 10px;border-radius:11px}.tj-menu li.current-menu-item>a,.tj-menu a:hover{background:#fff2ef;color:var(--tj-primary)}
.tj-header-actions{display:flex;align-items:center;gap:8px}.tj-header-icon,.tj-header-cta,.tj-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:10px 15px;font-weight:800;font-size:14px;border:1px solid transparent;white-space:nowrap;transition:.18s ease}.tj-header-icon{width:40px;height:40px;padding:0;background:#fff;border-color:#eadfd5;font-size:16px}.tj-header-icon:hover{background:#fff6f3}.tj-header-cta,.tj-btn-primary{background:linear-gradient(135deg,var(--tj-primary),#e28663);color:#fff;box-shadow:0 10px 22px rgba(203,109,79,.18)}.tj-header-cta:hover,.tj-btn-primary:hover{background:linear-gradient(135deg,var(--tj-primary-dark),var(--tj-primary));color:#fff;transform:translateY(-1px)}.tj-btn-light{background:#fff;color:var(--tj-primary-dark);border-color:#ebddd4}.tj-btn-light:hover{background:#fff8f4}.tj-text-link{font-weight:800;color:var(--tj-primary-dark)}.tj-main{min-height:70vh}

.tj-home-hero{padding:24px 0 18px}.tj-home-hero-grid{display:grid;grid-template-columns:1.02fr 1.08fr;gap:20px;align-items:stretch}.tj-home-hero-content{background:linear-gradient(135deg,var(--tj-hero-start) 0%,var(--tj-hero-end) 100%);color:#fff;padding:38px;border-radius:28px;position:relative;overflow:hidden;box-shadow:0 20px 40px rgba(34,83,186,.16)}.tj-home-hero-content:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 85% 15%,rgba(255,255,255,.18) 0,rgba(255,255,255,0) 26%),radial-gradient(circle at 25% 85%,rgba(255,255,255,.1) 0,rgba(255,255,255,0) 26%)}.tj-home-hero-content>*{position:relative;z-index:1}.tj-kicker,.tj-section-head span{display:inline-flex;background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:5px 12px;font-size:12px;font-weight:800}.tj-home-hero-content h1{font-size:36px;line-height:1.45;margin:16px 0 10px;font-weight:900}.tj-hero-subtitle{font-size:15px;max-width:600px;color:#eef4ff;margin-bottom:14px}.tj-hero-feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:500px;margin:18px 0}.tj-hero-feature-list span{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);padding:9px 12px;border-radius:14px;font-size:13px;font-weight:700}.tj-hero-feature-list span:before{content:'✓';display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#fff;color:var(--tj-primary-dark);font-size:12px}.tj-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}

.tj-home-hero-visual{position:relative}.tj-hero-blue-panel{background:linear-gradient(180deg,#fffefd 0%,#f8f4ef 100%);border-radius:28px;padding:22px;min-height:100%;border:1px solid var(--tj-border);box-shadow:var(--tj-shadow);position:relative;overflow:hidden}.tj-hero-blue-panel:before{content:'';position:absolute;left:-50px;bottom:-50px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(210,165,104,.12) 0,rgba(210,165,104,0) 70%)}
.tj-book-scene{display:flex;align-items:flex-end;justify-content:center;min-height:355px;position:relative}.tj-vase-shape{position:absolute;right:16px;bottom:26px;width:68px;height:110px;background:linear-gradient(180deg,#fff,#efe7df);border-radius:32px 32px 16px 16px;box-shadow:0 14px 24px rgba(77,58,46,.08)}.tj-vase-shape:before{content:'';position:absolute;top:-14px;right:16px;width:34px;height:26px;border:2px solid #d7b27f;border-bottom:0;border-radius:50px 50px 0 0}
.tj-book-stack{position:relative;padding-left:50px}.tj-book-spine{width:255px;height:48px;border-radius:14px;box-shadow:0 12px 20px rgba(21,38,110,.12);display:flex;align-items:center;padding:0 18px;color:#fff;font-weight:700;margin-top:10px;font-size:13px}.tj-book-spine-1{background:linear-gradient(135deg,#3f86b1,#4e5faa)}.tj-book-spine-2{background:linear-gradient(135deg,#8f73ca,#6460ad)}.tj-main-book-cover{width:210px;height:285px;background:linear-gradient(180deg,#2d479a,#2f4db2);border-radius:8px 8px 10px 10px;box-shadow:0 22px 36px rgba(24,43,121,.18);position:absolute;top:-16px;left:58px;padding:20px;color:#fff;border:4px solid rgba(255,255,255,.14)}.tj-main-book-cover:before{content:'';position:absolute;inset:12px;border:1px solid rgba(255,255,255,.14);border-radius:8px}.tj-main-book-cover img{width:58px;height:58px;border-radius:50%;object-fit:cover;border:3px solid rgba(255,255,255,.18);display:block;margin:4px auto 14px;position:relative;z-index:1}.tj-main-book-title,.tj-main-book-subtitle{position:relative;z-index:1;text-align:center}.tj-main-book-title{font-size:22px;font-weight:800;margin-top:8px}.tj-main-book-subtitle{font-size:12px;color:#dbe4ff;margin-top:8px}
.tj-brand-float-card{position:absolute;top:18px;left:18px;background:#fff;border-radius:24px;padding:18px;width:220px;box-shadow:0 16px 30px rgba(77,58,46,.09);text-align:center;border:1px solid #eee5de}.tj-brand-float-card img{width:82px;height:82px;border-radius:50%;display:block;margin:0 auto 12px;box-shadow:0 8px 18px rgba(42,69,156,.12)}.tj-brand-float-card h3{margin:0 0 6px;font-size:19px;color:var(--tj-heading)}.tj-brand-float-card p{margin:0;color:var(--tj-text-soft);font-size:13px;line-height:1.8}.tj-mini-avatars{display:flex;justify-content:center;gap:6px;margin:14px 0 8px}.tj-mini-avatars span{width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,#efd9cd,#d2b8a6);display:block;border:2px solid #fff;box-shadow:0 5px 8px rgba(31,41,55,.06)}.tj-brand-float-card small{color:#7a685d;font-weight:600;font-size:12px}

.tj-home-services-row{padding:0 0 16px}.tj-service-inline-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.tj-service-inline-card{background:#fff;border:1px solid var(--tj-border);border-radius:18px;padding:15px;display:flex;align-items:center;gap:12px;box-shadow:var(--tj-shadow)}.tj-service-badge{width:48px;height:48px;border-radius:14px;background:#fff3ea;display:grid;place-items:center;font-size:22px;flex:0 0 auto}.tj-service-inline-card:nth-child(2) .tj-service-badge{background:#f5f0ff}.tj-service-inline-card:nth-child(3) .tj-service-badge{background:#eefaf5}.tj-service-inline-card:nth-child(4) .tj-service-badge{background:#fff7df}.tj-service-inline-card:nth-child(5) .tj-service-badge{background:#eef8ff}.tj-service-inline-card b{display:block;font-size:15px;color:#734f42;margin-bottom:2px}.tj-service-inline-card p{margin:0;color:#807064;font-size:12px;line-height:1.8}

.tj-home-panels-overview{padding:12px 0 8px}.tj-home-panels-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}.tj-overview-card{border-radius:22px;padding:22px;box-shadow:var(--tj-shadow);border:1px solid var(--tj-border);background:#fff;position:relative;overflow:hidden}.tj-overview-card--purple{background:linear-gradient(135deg,#faf4fc,#ffffff)}.tj-overview-card--teal{background:linear-gradient(135deg,#f7f4ed,#ffffff)}.tj-overview-card--coral{background:linear-gradient(135deg,#fff4ef,#ffffff)}.tj-overview-head h2{margin:0 0 6px;font-size:23px;line-height:1.45;font-weight:800}.tj-overview-card--purple .tj-overview-head h2{color:#7f5e6d}.tj-overview-card--teal .tj-overview-head h2{color:#7d6446}.tj-overview-card--coral .tj-overview-head h2{color:#9b5642}.tj-overview-head span{display:block;color:#7c6e62;font-weight:700;font-size:13px}.tj-overview-links{list-style:none;margin:18px 0 18px;padding:0;display:grid;gap:9px}.tj-overview-links a{display:block;background:#fff;border:1px solid #eee7df;border-radius:12px;padding:10px 12px;font-weight:700;color:#6a584d;font-size:14px}.tj-product-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.tj-product-mini-item{background:#fff;border:1px solid #eee7df;border-radius:14px;padding:12px;min-height:84px;box-shadow:0 8px 16px rgba(77,58,46,.03)}.tj-product-mini-item strong{display:block;font-size:14px}.tj-product-mini-item:nth-child(1) strong{color:#7a5b47}.tj-product-mini-item:nth-child(2) strong{color:#8b5f57}.tj-product-mini-item:nth-child(3) strong{color:#6f6842}.tj-product-mini-item:nth-child(4) strong{color:#81584f}.tj-product-mini-item small{display:block;margin-top:4px;color:#837266;font-size:12px}.tj-upload-hint-box{margin:18px 0;background:#fff;border:2px dashed #f0c6b9;border-radius:16px;padding:18px;text-align:center}.tj-upload-cloud{width:54px;height:54px;margin:0 auto 10px;border-radius:16px;background:var(--tj-rose-soft);display:grid;place-items:center;font-size:28px;color:var(--tj-primary)}.tj-upload-hint-box p,.tj-upload-hint-box small{margin:0;display:block;color:#827063}.tj-upload-hint-box p{margin-bottom:6px;font-weight:700;color:#5e4d42;font-size:14px}

.tj-members-strip{padding:10px 0 24px}.tj-members-strip-inner{background:#fff;border:1px solid var(--tj-border);border-radius:18px;padding:20px;box-shadow:var(--tj-shadow);display:grid;grid-template-columns:1.2fr auto 1fr;gap:14px;align-items:center}.tj-members-copy h2{margin:0 0 4px;font-size:25px;color:#734a3d}.tj-members-copy p{margin:0;color:#7a6a5f;font-size:14px}.tj-members-actions{display:flex;gap:10px;flex-wrap:wrap}.tj-members-benefits{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.tj-members-benefits span{background:#fff8f1;border:1px solid #f0e2d2;color:#8c6c4f;padding:8px 10px;border-radius:999px;font-size:12px;font-weight:700}

.tj-section{padding:36px 0}.tj-soft{background:linear-gradient(180deg,#fcfaf7 0,#f7f2ec 100%);border-block:1px solid #f0e7dd}.tj-section-head{margin-bottom:18px}.tj-section-head span{background:#fff3eb;color:#a75942;border-color:#f0d8cb}.tj-section-head h2{font-size:27px;margin:10px 0 0;line-height:1.45;font-weight:800}.tj-section#product-calculator .tj-section-head h2{color:#7a5a43}.tj-section#order .tj-section-head h2{color:#8c5947}.tj-section#calculators .tj-section-head h2{color:#6d513f}.tj-section-head p,.tj-muted-line{color:#7c6d62;margin:8px 0 0;font-size:14px}.tj-section-head-row{display:flex;align-items:end;justify-content:space-between;gap:18px}.tj-section-card-head{background:#fff;border:1px solid var(--tj-border);border-radius:18px;padding:18px;box-shadow:var(--tj-shadow)}.tj-calc-stage,.tj-home-calculator-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(290px,.85fr);gap:18px;align-items:start}.tj-main-tool,.tj-side-tools>div{background:#fff;border:1px solid var(--tj-border);border-radius:var(--tj-radius);box-shadow:var(--tj-shadow)}.tj-side-tools,.tj-calculator-links{display:grid;gap:18px}.tj-calculator-links a{display:block;background:#fff;border:1px solid var(--tj-border);border-radius:18px;padding:16px;box-shadow:var(--tj-shadow);color:#6a584d}.tj-calculator-links strong{display:block;color:#8c5947;font-size:16px;margin-bottom:4px}.tj-calculator-links span{display:block;color:#7c6d62;font-size:13px}.tj-calculator-links a:hover{transform:translateY(-1px);border-color:#e4cabb}.tj-two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}

.tj-site-footer{background:linear-gradient(145deg,#8a5b47,#b67355);color:#fff3ef;padding:36px 0 0;margin-top:18px}.tj-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:24px;padding-bottom:28px}.tj-footer-brand-wrap{display:flex;align-items:center;gap:12px;margin-bottom:10px}.tj-footer-brand-wrap img{width:64px;height:64px;border-radius:50%;box-shadow:0 10px 22px rgba(0,0,0,.14)}.tj-footer-brand{font-size:22px;font-weight:800;color:#fff}.tj-site-footer h3{color:#fff;margin:0 0 10px;font-size:16px}.tj-site-footer a{display:block;color:#fff4ef;margin:5px 0;font-size:14px}.tj-site-footer p{margin:5px 0;color:#fff0e6;font-size:14px}.tj-footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding:12px 0;margin-top:4px}.tj-footer-socials{display:flex;gap:10px;flex-wrap:wrap}.tj-footer-socials span{background:rgba(255,255,255,.12);padding:7px 10px;border-radius:999px;color:#fff;font-size:12px}
.tj-entry-content,.tj-content-card{background:#fff;border:1px solid var(--tj-border);border-radius:var(--tj-radius);padding:22px;box-shadow:var(--tj-shadow)}

.tj-tool{background:#fff;border:1px solid var(--tj-border);border-radius:18px;padding:18px;box-shadow:var(--tj-shadow)}.tj-tool h3{font-size:18px;margin:0 0 6px;font-weight:800}.tj-main-tool .tj-tool h3{color:#6a4a3c}.tj-side-tools .tj-tool:nth-child(1) h3{color:#86644c}.tj-side-tools .tj-tool:nth-child(2) h3{color:#8d5951}.tj-tool p{color:#7c6d62;font-size:13px}.tj-calc-grid{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:16px;align-items:start}.tj-tool-head{margin-bottom:12px}.tj-fields,.tj-compact-form{display:grid;gap:12px}.tj-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.tj-fields.compact-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tj-fields label,.tj-compact-form label{font-size:12px;font-weight:700;color:#69584d}.tj-fields input,.tj-fields select,.tj-compact-form input,.tj-compact-form select,.tj-compact-form textarea,.tj-auth-box input[type=text],.tj-auth-box input[type=password]{width:100%;margin-top:6px;border:1px solid #e6ddd5;border-radius:12px;padding:10px 12px;font:inherit;background:#fff;color:#43372f;font-size:14px}.tj-fields input:focus,.tj-fields select:focus,.tj-compact-form input:focus,.tj-compact-form textarea:focus,.tj-compact-form select:focus,.tj-auth-box input[type=text]:focus,.tj-auth-box input[type=password]:focus{outline:none;border-color:var(--tj-primary);box-shadow:0 0 0 3px rgba(203,109,79,.1)}.tj-check{display:flex!important;align-items:center;gap:8px;background:#fff8f5;border:1px solid #f0ddd2;border-radius:13px;padding:10px}.tj-check input{width:auto!important;margin:0!important}.tj-result-box{border-radius:16px;background:linear-gradient(145deg,#b7684a,#d78867);color:#fff;padding:18px;position:sticky;top:96px}.tj-result-box span{display:block;color:#fff1ea;font-size:12px;margin-bottom:5px}.tj-result-box strong{display:block;font-size:22px;line-height:1.45}.tj-result-box small{display:block;margin-top:8px;color:#fff4ef;font-size:12px}.tj-result-inline{margin-top:10px;background:#fff8f5;border:1px solid #f1ddd1;border-radius:13px;padding:9px 12px;display:flex;justify-content:space-between;gap:10px;font-size:14px}.tj-result-inline strong{color:#91523e}.tj-form-row-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tj-compact-form button,.tj-auth-box input[type=submit],.tj-mini-btn{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:12px;background:linear-gradient(135deg,var(--tj-primary),#df8562);color:#fff!important;padding:10px 15px;font-weight:800;font-family:inherit;cursor:pointer;font-size:14px}.tj-compact-form button:hover,.tj-auth-box input[type=submit]:hover,.tj-mini-btn:hover{background:linear-gradient(135deg,var(--tj-primary-dark),var(--tj-primary))}.tj-alert{padding:11px 13px;border-radius:12px;margin:0 0 14px;font-size:13px}.tj-alert-success{background:#edf8f1;border:1px solid #b9e1c6;color:#2c6b47}.tj-alert-error{background:#fff1ee;border:1px solid #f6c7bb;color:#b4533e}.tj-auth-box .login-username,.tj-auth-box .login-password,.tj-auth-box .login-remember{margin:0 0 12px}.tj-auth-box .login-remember{display:flex;align-items:center;gap:8px}.tj-note{font-size:11px;color:#8a7b70!important;margin:0!important}

@media(max-width:1180px){.tj-service-inline-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tj-home-panels-grid,.tj-footer-grid,.tj-members-strip-inner{grid-template-columns:1fr}.tj-brand-float-card{position:static;width:auto;margin-top:14px}.tj-book-scene{min-height:310px}}
@media(max-width:980px){body.admin-bar .tj-site-header{top:46px}.tj-topbar-inner,.tj-header-inner,.tj-footer-bottom-inner{flex-direction:column;align-items:flex-start}.tj-nav{width:100%;justify-content:flex-start;overflow:auto}.tj-menu{flex-wrap:nowrap;white-space:nowrap}.tj-home-hero-grid,.tj-calc-stage,.tj-home-calculator-grid,.tj-two-col{grid-template-columns:1fr}.tj-home-hero-content h1{font-size:31px}.tj-home-hero-content{padding:28px}.tj-header-cta{display:none}.tj-service-inline-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tj-fields,.tj-calc-grid,.tj-form-row-2{grid-template-columns:1fr}.tj-result-box{position:static}.tj-section-head-row{display:block}}
@media(max-width:640px){.tj-container{width:min(100% - 22px,1220px)}.tj-home-hero{padding:18px 0}.tj-home-hero-content h1{font-size:26px}.tj-hero-subtitle{font-size:14px}.tj-home-hero-content{padding:22px;border-radius:22px}.tj-book-spine{width:220px}.tj-main-book-cover{width:172px;height:228px;left:44px}.tj-service-inline-grid,.tj-product-mini-grid,.tj-hero-feature-list{grid-template-columns:1fr}.tj-service-inline-card{padding:14px}.tj-overview-head h2,.tj-members-copy h2,.tj-section-head h2{font-size:22px}.tj-brand strong{font-size:19px}.tj-brand img{width:56px;height:56px}.tj-header-actions{width:100%;justify-content:flex-start}}

/* Pixel-faithful reference stage - v44 */
.tj-reference-home{background:#faf7f1}.tj-reference-home .tj-site-header{display:none}.tj-reference-home .tj-main{min-height:0}.tj-reference-stage{position:relative;width:min(100%,1672px);margin:0 auto;background:#faf7f1;overflow:hidden}.tj-reference-picture,.tj-reference-picture img{display:block;width:100%;height:auto}.tj-reference-hotspots{position:absolute;inset:0;z-index:3;pointer-events:none}.tj-hotspot{position:absolute;display:block;pointer-events:auto;border-radius:12px}.tj-hotspot:focus-visible{outline:4px solid rgba(0,104,100,.8);outline-offset:3px}
.tj-hotspot--login{left:2.7%;top:3.3%;width:9%;height:6.5%}.tj-hotspot--nav-home{left:65.8%;top:3%;width:6.7%;height:7%}.tj-hotspot--nav-book{left:59.9%;top:3%;width:5.6%;height:7%}.tj-hotspot--nav-booklet{left:54%;top:3%;width:5.7%;height:7%}.tj-hotspot--nav-digital{left:47.7%;top:3%;width:6.2%;height:7%}.tj-hotspot--nav-binding{left:42.6%;top:3%;width:5%;height:7%}.tj-hotspot--nav-pricing{left:36.4%;top:3%;width:6%;height:7%}.tj-hotspot--book{left:16.5%;top:20.4%;width:15%;height:41%}.tj-hotspot--booklet{left:32.8%;top:20.4%;width:15%;height:41%}.tj-hotspot--digital{left:49%;top:20.4%;width:15%;height:41%}.tj-hotspot--binding{left:65.25%;top:20.4%;width:15%;height:41%}.tj-hotspot--calculate{left:16.4%;top:64.1%;width:31.4%;height:18.7%}.tj-hotspot--upload{left:49%;top:64.1%;width:31.3%;height:18.7%}.tj-hotspot--start{display:none}.tj-reference-mobile-menu{display:none}
.tj-publishing-card-label{position:absolute;z-index:2;left:65.55%;top:39.6%;width:14.4%;padding:8px 0 10px;color:#fff;background:#087563;text-align:center;line-height:1.45;pointer-events:none;text-shadow:0 2px 3px rgba(0,0,0,.2)}.tj-publishing-card-label strong{display:block;font-size:clamp(18px,2vw,34px);font-weight:800}.tj-publishing-card-label span{display:block;margin-top:3px;font-size:clamp(11px,1.05vw,18px);font-weight:600}
.tj-reference-home .tj-soft{background:#f8f3e9;border-color:#e6dac6}.tj-reference-home .tj-section-head span{background:#f5eddf;color:#8d6528;border-color:#e2d2b6}.tj-reference-home .tj-text-link,.tj-reference-home .tj-calculator-links strong{color:#006864}.tj-reference-home .tj-site-footer{background:#073f49}

@media(max-width:760px){
  .tj-reference-stage{width:100%;max-width:724px}.tj-reference-picture img{width:100%}
  .tj-hotspot--nav-home,.tj-hotspot--nav-book,.tj-hotspot--nav-booklet,.tj-hotspot--nav-digital,.tj-hotspot--nav-binding,.tj-hotspot--nav-pricing{display:none}.tj-hotspot--login{left:3%;top:.6%;width:25%;height:6%}.tj-hotspot--book{left:4.2%;top:21.5%;width:44%;height:21.4%}.tj-hotspot--booklet{left:51.5%;top:21.5%;width:44%;height:21.4%}.tj-hotspot--digital{left:4.2%;top:44.4%;width:44%;height:20.5%}.tj-hotspot--binding{left:51.5%;top:44.4%;width:44%;height:20.5%}.tj-hotspot--calculate{left:4%;top:66%;width:92%;height:7.2%}.tj-hotspot--upload{left:4%;top:73.7%;width:92%;height:7.2%}.tj-hotspot--start{display:block;left:1.5%;top:89.2%;width:97%;height:7.3%}
  .tj-publishing-card-label{left:53%;top:52.7%;width:41%;padding:10px 0 12px;background:#126b5b;line-height:1.45}.tj-publishing-card-label strong{font-size:clamp(22px,6vw,38px)}.tj-publishing-card-label span{margin-top:4px;font-size:clamp(13px,3.5vw,22px)}
  .tj-reference-mobile-menu{display:block;position:absolute;z-index:5;right:3.4%;top:.7%;width:10%;height:5.5%}.tj-reference-mobile-menu summary{display:block;width:100%;height:100%;list-style:none;cursor:pointer}.tj-reference-mobile-menu summary::-webkit-details-marker{display:none}.tj-reference-mobile-menu .tj-menu{position:absolute;left:auto;right:0;top:100%;width:220px;background:#fffdf8;border:1px solid #ddcfb7;border-radius:8px;padding:8px;box-shadow:0 12px 30px rgba(25,43,42,.2);display:grid;gap:2px;white-space:normal}.tj-reference-mobile-menu .tj-menu a{display:block;padding:9px 11px;color:#153f44;border-radius:5px;font-weight:700}.tj-reference-mobile-menu .tj-menu a:hover{background:#edf5f1;color:#006864}
}

/* Editable reference header and content pages */
.tj-reference-logo{position:absolute;z-index:5;left:12.4%;top:1.4%;width:5.1%;aspect-ratio:1;border-radius:50%;overflow:hidden;background:#fff;box-shadow:0 0 0 2px #fff}.tj-reference-logo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.tj-reference-account-label{position:absolute;z-index:6;left:2.8%;top:3.15%;width:8.8%;height:6.2%;display:flex;align-items:center;justify-content:center;padding:0 8px;border-radius:9px;background:#00655f;color:#fff;font-weight:800;font-size:clamp(11px,1vw,16px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tj-reference-desktop-nav{position:absolute;z-index:5;left:19%;top:2.7%;width:54%;height:7%}.tj-reference-desktop-nav .tj-menu{height:100%;margin:0;padding:0;display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none}.tj-reference-desktop-nav a{color:#252522;font-size:clamp(10px,.95vw,16px);font-weight:700;white-space:nowrap}.tj-reference-desktop-nav a:hover{color:#087563}.tj-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tj-blog-card{border:1px solid #e7d8c8;border-radius:8px;overflow:hidden;background:#fff}.tj-blog-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.tj-blog-card>div{padding:16px}.tj-blog-card time{font-size:12px;color:#87766c}.tj-blog-card h2{font-size:20px;margin:8px 0}.tj-blog-card h2 a{color:#154f53}.tj-blog-card p{color:#6f625b}
@media(max-width:900px){.tj-blog-grid{grid-template-columns:1fr}}
@media(max-width:760px){.tj-reference-logo,.tj-reference-desktop-nav{display:none}.tj-reference-account-label{left:3%;top:1.2%;width:27%;height:5.2%;padding:0;background:#fcf9f3;color:#1f2d2b;font-size:clamp(12px,3.4vw,20px)}}

/* Toranjestan teal, navy and gold system */
:root{--tj-primary:#00756a;--tj-primary-dark:#00534d;--tj-accent:#c99a32;--tj-accent-soft:#fff8e8;--tj-text:#314342;--tj-text-soft:#667774;--tj-heading:#134e54;--tj-heading-2:#0d6670;--tj-heading-3:#9a7424;--tj-border:#e5dccb;--tj-bg:#fbf8f2;--tj-shadow:0 10px 28px rgba(14,76,75,.07)}
body{background:#fbf8f2;color:var(--tj-text)}a{color:var(--tj-primary)}.tj-site-header{background:rgba(255,253,248,.96);border-color:rgba(0,117,106,.1);box-shadow:0 7px 22px rgba(15,70,68,.06)}.tj-topbar{background:#fffdf8;border-color:#eee4d2;color:#687774}.tj-topbar a{color:#526764}.tj-header-inner{padding:10px 0;flex-wrap:nowrap}.tj-brand{gap:0}.tj-brand img{width:60px;height:60px;box-shadow:0 8px 20px rgba(20,72,126,.13)}.tj-nav{min-width:0}.tj-menu{flex-wrap:nowrap;white-space:nowrap}.tj-menu a{color:#334b49;padding:8px 9px}.tj-menu li.current-menu-item>a,.tj-menu a:hover{background:#edf7f4;color:#006c63}.tj-header-actions{flex:0 0 auto}.tj-user-menu{position:relative}.tj-user-menu summary{list-style:none;min-width:145px;max-width:210px;height:42px;padding:0 13px;display:flex;align-items:center;gap:8px;border-radius:8px;background:#00756a;color:#fff;font-weight:800;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tj-user-menu summary::-webkit-details-marker{display:none}.tj-user-menu-icon{width:18px;height:18px;border:2px solid #f2c867;border-radius:50%;color:transparent;flex:0 0 auto}.tj-user-menu-panel{position:absolute;z-index:80;left:0;top:calc(100% + 8px);width:260px;padding:10px;background:#fffdf8;border:1px solid #ddcfb8;border-radius:8px;box-shadow:0 16px 36px rgba(21,61,59,.18);display:grid;gap:3px}.tj-user-menu:not([open]) .tj-user-menu-panel{display:none}.tj-user-menu-panel strong,.tj-user-menu-panel small,.tj-user-menu-panel span{display:block;padding:4px 8px}.tj-user-menu-panel small{color:#71807d}.tj-user-menu-panel a{display:block;padding:8px;border-radius:6px;color:#174e52;font-weight:700}.tj-user-menu-panel a:hover{background:#eaf5f1;color:#006c63}.tj-tool,.tj-content-card,.tj-entry-content,.tj-calc-section,.tj-order-page-form{border-color:#e2d8c6}.tj-tool h3,.tj-calc-section h4,.tj-section-head h1,.tj-section-head h2{color:#134e54}.tj-result-box,.tj-book-total-box{background:#08756b!important;color:#fff}.tj-compact-form button,.tj-auth-box input[type=submit],.tj-mini-btn,.tj-book-order-cta,.tj-btn-primary{background:#00756a!important;color:#fff!important;box-shadow:none}.tj-compact-form button:hover,.tj-auth-box input[type=submit]:hover,.tj-mini-btn:hover,.tj-book-order-cta:hover{background:#00534d!important}.tj-check,.tj-file-inspector,.tj-cover-preview{background:#f1f8f5;border-color:#cfe4dc}.tj-fields input:focus,.tj-fields select:focus,.tj-compact-form input:focus,.tj-compact-form textarea:focus,.tj-compact-form select:focus{border-color:#00756a;box-shadow:0 0 0 3px rgba(0,117,106,.1)}.tj-section-head span{background:#fff7e5;color:#8b6822;border-color:#ead6a5}.tj-site-footer{background:#073f49}.tj-reference-logo{left:auto!important;right:3.7%!important}.tj-reference-desktop-nav{left:19%;width:55%}
@media(max-width:980px){.tj-header-inner{align-items:center}.tj-nav{order:3}.tj-user-menu summary{min-width:130px}.tj-topbar-inner,.tj-footer-bottom-inner{flex-direction:row;align-items:center}}

/* Real text over the four service cards */
.tj-reference-card-copy{position:absolute;z-index:2;top:39.4%;width:14.4%;min-height:11.4%;padding:7px 3px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center;font-family:'TJCard','Mitra','B Mitra','TJUI',sans-serif;line-height:1.45;text-shadow:0 2px 3px rgba(0,0,0,.18);pointer-events:none}.tj-reference-card-copy strong{display:block;font-size:clamp(20px,2vw,34px);font-weight:900}.tj-reference-card-copy span{display:block;margin-top:3px;font-size:clamp(11px,1.05vw,18px);font-weight:700}.tj-reference-card-copy--book{left:16.8%;background:#065354}.tj-reference-card-copy--booklet{left:33.1%;background:#bf9851}.tj-reference-card-copy--digital{left:49.3%;background:#173257}.tj-reference-card-copy--publishing{left:65.55%;background:#0d675e}
@media(max-width:760px){.tj-reference-card-copy{width:41%;min-height:8.2%;padding:7px 2px 9px}.tj-reference-card-copy strong{font-size:clamp(22px,6vw,38px)}.tj-reference-card-copy span{font-size:clamp(12px,3.2vw,20px)}.tj-reference-card-copy--book{left:5.6%;top:30.5%}.tj-reference-card-copy--booklet{left:53.1%;top:30.5%}.tj-reference-card-copy--digital{left:5.6%;top:52.8%}.tj-reference-card-copy--publishing{left:53.1%;top:52.8%}}
.tj-member-account-only{max-width:1220px}.tj-member-track-list{margin-top:14px;overflow:auto}.tj-member-track-list table{width:100%;min-width:680px;border-collapse:collapse}.tj-member-track-list th,.tj-member-track-list td{padding:10px;border-bottom:1px solid #e5dccb;text-align:right}.tj-member-track-list th{background:#f1f8f5;color:#134e54}

.tj-site-header,.tj-site-header *,.tj-reference-desktop-nav,.tj-reference-account-label,button,input,select,textarea{font-family:'TJYekan','TJUI',Tahoma,Arial,sans-serif}.tj-section-head h1,.tj-section-head h2,.tj-tool h3,.tj-tool h4,.tj-entry-content h1,.tj-entry-content h2,.tj-content-card h1,.tj-content-card h2{font-family:'TJMitra','TJYekan','TJUI',Tahoma,Arial,sans-serif}

/* The reference artwork stays decorative; all visible copy below is live HTML. */
.tj-reference-stage-frame{width:min(100%,1672px);aspect-ratio:1672/700;margin:0 auto;overflow:hidden;background:#faf7f1}.tj-reference-stage-frame .tj-reference-stage{width:100%;margin:0}
.tj-reference-hero-copy{position:absolute;right:-9999px}
.tj-reference-card-copy{top:39.1%;width:14.5%;min-height:11.8%;padding:4px 2px 8px;background:transparent!important;font-family:'TJMitra','TJYekan',Tahoma,sans-serif;line-height:1.18;text-shadow:0 2px 3px rgba(0,0,0,.22)}
.tj-reference-card-copy strong{font-family:'TJMitra','TJYekan',Tahoma,sans-serif;font-size:clamp(23px,2.15vw,36px);font-weight:700}
.tj-reference-card-copy span{margin-top:5px;font-family:'TJYekan',Tahoma,sans-serif;font-size:clamp(10px,.98vw,16px);font-weight:600}

.tj-reference-action-copy{position:absolute;z-index:4;top:66.3%;width:18.2%;height:14.9%;padding:5px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#fbfaf5;color:#123f43;font-family:'TJYekan',Tahoma,sans-serif;line-height:1.45;pointer-events:none}
.tj-reference-action-copy--calculate{left:26.1%}.tj-reference-action-copy--upload{left:58.4%}
.tj-reference-action-copy strong{font-size:clamp(13px,1.35vw,23px);font-weight:800}.tj-reference-action-copy span{margin-top:3px;color:#5f6660;font-size:clamp(8px,.78vw,13px);font-weight:400}
.tj-reference-action-copy b{width:92%;margin-top:9px;padding:7px 10px;border-radius:5px;background:#006b67;color:#fff;font-size:clamp(9px,.8vw,14px);font-weight:700}.tj-reference-action-copy--upload b{background:#c69227}

.tj-reference-benefits{position:absolute;z-index:4;left:8.6%;top:87.1%;width:80.2%;height:9.4%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));direction:ltr;pointer-events:none}
.tj-reference-benefits>div{direction:rtl;padding:2px 8px 2px 34%;display:flex;flex-direction:column;justify-content:center;text-align:right;font-family:'TJYekan',Tahoma,sans-serif;line-height:1.45}
.tj-reference-benefits strong,.tj-reference-benefits span{width:max-content;max-width:100%;background:#fbfaf5}.tj-reference-benefits strong{color:#153f43;font-size:clamp(9px,.9vw,15px);font-weight:700}.tj-reference-benefits span{margin-top:2px;color:#555f5b;font-size:clamp(7px,.62vw,10px);font-weight:400}
.tj-reference-start-copy{display:none}

@media(max-width:760px){
  .tj-reference-stage-frame{width:100%;max-width:724px;aspect-ratio:724/1315}
  .tj-reference-hero-copy{right:20%;top:9.8%;z-index:4;width:60%;height:7.8%;padding:5px;background:#fbfaf5;text-align:center;color:#111;font-family:'TJYekan',Tahoma,sans-serif}
  .tj-reference-hero-copy h1{margin:0;font-size:clamp(22px,6.3vw,39px);font-weight:800;line-height:1.45}.tj-reference-hero-copy p{margin:8px 0 0;color:#936d27;font-family:'TJMitra','TJYekan',Tahoma,sans-serif;font-size:clamp(17px,4.8vw,28px);line-height:1.35}
  .tj-reference-card-copy{width:39%;min-height:7.1%;padding:3px 2px 6px;line-height:1.18}.tj-reference-card-copy strong{font-size:clamp(25px,7.2vw,42px)}.tj-reference-card-copy span{margin-top:5px;font-size:clamp(12px,3.45vw,20px)}
  .tj-reference-card-copy--book{left:6.8%;top:31.1%}.tj-reference-card-copy--booklet{left:54.1%;top:31.1%}.tj-reference-card-copy--digital{left:6.8%;top:53.2%}.tj-reference-card-copy--publishing{left:54.1%;top:53.2%}
  .tj-reference-action-copy{left:29%;width:57%;height:5.7%;padding:4px 6px;background:#fbfaf5}.tj-reference-action-copy--calculate{top:66.6%}.tj-reference-action-copy--upload{left:30%;top:74.5%;width:55%}.tj-reference-action-copy strong{font-size:clamp(16px,4.7vw,28px)}.tj-reference-action-copy span{display:block;margin-top:2px;font-size:clamp(9px,2.6vw,15px);line-height:1.35}.tj-reference-action-copy b{display:none}
  .tj-reference-benefits{left:3.5%;top:86.25%;width:93%;height:4.8%;grid-template-columns:repeat(4,minmax(0,1fr))}.tj-reference-benefits>div{padding:3px;text-align:center;align-items:center;justify-content:flex-end}.tj-reference-benefits span{display:none}.tj-reference-benefits strong{font-size:clamp(12px,3.4vw,20px);white-space:nowrap;background:#fbfaf5}.tj-reference-benefits>div:nth-child(1){grid-column:4}.tj-reference-benefits>div:nth-child(2){grid-column:2;grid-row:1}.tj-reference-benefits>div:nth-child(3){grid-column:3;grid-row:1}.tj-reference-benefits>div:nth-child(4){display:none}.tj-reference-benefits>div:nth-child(5){grid-column:1;grid-row:1}
  .tj-reference-start-copy{position:absolute;z-index:4;left:25%;top:91.4%;width:61%;height:5.5%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#00645d;color:#fff!important;text-align:center;font-family:'TJYekan',Tahoma,sans-serif;line-height:1.35}.tj-reference-start-copy strong{font-size:clamp(21px,6vw,36px);font-weight:800}.tj-reference-start-copy span{font-size:clamp(11px,3.35vw,19px);font-weight:400}
}

/* Homepage editorial content */
.tj-home-compact-container{width:min(940px,calc(100% - 24px));margin-inline:auto}.tj-home-editorial,.tj-home-services,.tj-home-blog{padding:26px 0}.tj-home-editorial{background:#fffdf8}.tj-home-editorial-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:24px;align-items:center}.tj-home-editorial-media{overflow:hidden;border-radius:8px;aspect-ratio:8/5;background:#e9e1d3}.tj-home-editorial-media img{display:block;width:100%;height:100%;object-fit:cover}.tj-home-editorial-copy>span,.tj-home-section-heading>span{display:inline-block;color:#9a7424;font-size:12px;font-weight:700}.tj-home-editorial-copy h2,.tj-home-section-heading h2{margin:6px 0 8px;color:#134e54;font-size:28px;line-height:1.4}.tj-home-editorial-copy p{margin:0;color:#53625f;font-size:14px;line-height:1.95}
.tj-home-section-heading{margin-bottom:14px;text-align:center}.tj-home-services{padding:20px 0}.tj-home-service-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.tj-home-service-list>div{overflow:hidden;background:#fff;border:1px solid #e2d8c6;border-radius:6px;text-align:center;box-shadow:0 3px 10px rgba(14,76,75,.04);transition:transform .2s ease,border-color .2s ease}.tj-home-service-list>div:hover{transform:translateY(-2px);border-color:#ccb77f}.tj-home-service-list img{display:block;width:100%;aspect-ratio:8/5;object-fit:cover}.tj-home-service-list strong{min-height:38px;padding:7px 5px;display:flex;align-items:center;justify-content:center;color:#174e52;font-size:13px;font-weight:700;line-height:1.35}
.tj-home-blog{background:#fffdf8}.tj-home-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tj-home-blog-item{min-height:0;overflow:hidden;background:#fff;border:1px solid #e2d8c6;border-radius:8px}.tj-home-blog-media{display:block;aspect-ratio:16/9;overflow:hidden;background:#e5dccb}.tj-home-blog-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.tj-home-blog-item:hover .tj-home-blog-media img{transform:scale(1.025)}.tj-home-blog-content{padding:13px 15px 15px}.tj-home-blog-item time{display:block;color:#8b795e;font-size:10px}.tj-home-blog-item h3{margin:5px 0 7px;font-family:'TJMitra','TJYekan',Tahoma,sans-serif;font-size:20px;line-height:1.4}.tj-home-blog-item h3 a{color:#134e54}.tj-home-blog-item h3 a:hover{color:#00756a}.tj-home-blog-item p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;color:#66736f;font-size:12px;line-height:1.8}.tj-home-blog-more{display:table;margin:16px auto 0;padding:8px 14px;border:1px solid #b88927;border-radius:6px;color:#765819;font-size:13px;font-weight:700}.tj-entry-date{display:block;margin:-4px 0 14px;color:#8b795e;font-size:13px}.tj-entry-cover{display:block;width:100%;max-height:560px;object-fit:cover;border-radius:8px;margin:0 0 22px}
@media(max-width:900px){.tj-home-editorial-grid{grid-template-columns:1fr;gap:16px}.tj-home-service-list{grid-template-columns:repeat(2,minmax(0,1fr))}.tj-home-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.tj-home-compact-container{width:calc(100% - 24px)}.tj-home-editorial,.tj-home-blog{padding:22px 0}.tj-home-services{padding:18px 0}.tj-home-editorial-copy h2,.tj-home-section-heading h2{font-size:25px}.tj-home-editorial-copy p{font-size:13px}.tj-home-blog-grid{grid-template-columns:1fr}.tj-home-service-list{gap:7px}.tj-home-service-list strong{min-height:36px;padding:6px 4px;font-size:12px}.tj-home-blog-item{min-height:0}}

/* Iranian Sans typography and header wordmark */
body,body *{font-family:'TJIranianSans',Tahoma,Arial,sans-serif!important}
.tj-brand{gap:10px}.tj-brand-copy{display:flex;flex-direction:column;justify-content:center;line-height:1.25}.tj-brand-copy strong{font-size:20px;color:#134e54}.tj-brand-copy small{margin-top:4px;font-size:11px;color:#78827f}
.tj-reference-brand-copy{position:absolute;z-index:6;right:9.6%;top:2%;width:10%;display:flex;flex-direction:column;justify-content:center;color:#134e54;line-height:1.25}.tj-reference-brand-copy strong{font-size:clamp(15px,1.35vw,23px);font-weight:700}.tj-reference-brand-copy span{margin-top:3px;color:#7a817d;font-size:clamp(9px,.78vw,13px)}
@media(max-width:760px){.tj-reference-brand-copy{display:none}.tj-brand-copy strong{font-size:18px}}

/* Toranjestan premium footer redesign */
.tj-site-footer{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 0% 85%, rgba(210,129,92,.28) 0 12%, transparent 28%),
        linear-gradient(145deg,#7b3f2f 0%,#93563f 42%,#6b3b2f 100%) !important;
    color:#fff7f0;
    padding:46px 0 0;
    margin-top:22px;
}
.tj-site-footer:before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,0) 45%);
    pointer-events:none;
}
.tj-footer-grid{
    position:relative;
    z-index:1;
    grid-template-columns:1.45fr 1fr 1fr 1.25fr;
    gap:42px;
    align-items:start;
    padding-bottom:36px;
}
.tj-footer-brand-wrap img{
    width:74px;
    height:74px;
    border:1px solid rgba(255,255,255,.55);
    box-shadow:0 18px 36px rgba(0,0,0,.2);
}
.tj-footer-brand{
    font-size:25px;
    font-weight:900;
    color:#fff;
}
.tj-site-footer h3{
    position:relative;
    font-size:18px;
    font-weight:900;
    margin-bottom:24px;
}
.tj-site-footer h3:after{
    content:"";
    display:block;
    width:42px;
    height:2px;
    margin-top:10px;
    background:#f1c27d;
    border-radius:999px;
}
.tj-site-footer a{
    color:#fff7ef;
    font-weight:700;
    transition:.2s ease;
}
.tj-site-footer a:hover{
    color:#ffd99a;
    transform:translateX(-3px);
}
.tj-site-footer p{
    color:#fff3e8;
    line-height:2;
    font-weight:600;
}
.tj-footer-bottom{
    position:relative;
    z-index:1;
    border-top:1px solid rgba(255,255,255,.16);
    background:rgba(60,28,22,.16);
    padding:20px 0;
}
.tj-footer-bottom-inner{
    align-items:center;
}
.tj-footer-socials{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    align-items:center;
}
.tj-footer-socials a{
    width:44px;
    height:44px;
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    margin:0;
    border-radius:14px;
    background:rgba(255,255,255,.15);
    border:1px solid rgba(255,255,255,.18);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 8px 20px rgba(0,0,0,.12);
    color:#fff !important;
}
.tj-footer-socials a:hover{
    background:rgba(241,194,125,.24);
    color:#fff !important;
    transform:translateY(-3px);
}
.tj-footer-socials span{
    background:transparent !important;
    padding:0 !important;
    border-radius:0 !important;
    color:inherit !important;
    font-size:0 !important;
    display:flex;
}
.tj-footer-socials svg{
    width:22px;
    height:22px;
    fill:currentColor;
    display:block;
}
.tj-footer-trust{
    background:#fbf8f2;
    margin:0 auto !important;
    padding:34px 12px 28px !important;
}
@media(max-width:980px){
    .tj-footer-grid{grid-template-columns:1fr;gap:26px}
    .tj-footer-bottom-inner{gap:16px}
    .tj-footer-socials a{width:42px;height:42px}
}

/* Final approved Toranjestan Hero - controlled layer */
.tj-final-home-hero{
    position:relative;
    overflow:hidden;
    padding:22px 0 30px;
    background-color:#f7f2e9;
    background-image:url('./hero-architecture-background.webp');
    background-repeat:no-repeat;
    background-position:center center;
    background-size:100% 100%;
}

.tj-final-hero-identity-bg{
    position:absolute;
    inset:0;
    pointer-events:none;
    background:
        linear-gradient(
            90deg,
            rgba(248,244,237,.04) 0%,
            rgba(248,244,237,.34) 28%,
            rgba(248,244,237,.72) 45%,
            rgba(248,244,237,.72) 55%,
            rgba(248,244,237,.34) 72%,
            rgba(248,244,237,.04) 100%
        );
}

.tj-final-home-hero .tj-container{
    position:relative;
    z-index:1;
}

.tj-final-hero-card{
    position:relative;
    isolation:isolate;
    width:min(100%,1080px);
    min-height:365px;
    margin:0 auto;
    padding:38px 54px;
    display:grid;
    grid-template-columns:1fr .92fr;
    align-items:center;
    gap:24px;
}

/* Hero ابری و بدون قاب مستطیلی */
.tj-final-hero-card::before{
    content:"";
    position:absolute;
    inset:10px -18px 0;
    z-index:-2;
    border-radius:48% 52% 46% 54% / 55% 45% 55% 45%;
    background:
        radial-gradient(ellipse 34% 52% at 18% 48%,
            rgba(226,239,238,.92) 0%,
            rgba(226,239,238,.72) 58%,
            transparent 76%),
        radial-gradient(ellipse 37% 56% at 42% 43%,
            rgba(255,255,255,.96) 0%,
            rgba(255,255,255,.80) 60%,
            transparent 78%),
        radial-gradient(ellipse 34% 50% at 68% 50%,
            rgba(255,255,255,.94) 0%,
            rgba(255,255,255,.74) 58%,
            transparent 78%),
        radial-gradient(ellipse 28% 46% at 88% 52%,
            rgba(225,238,237,.88) 0%,
            rgba(225,238,237,.62) 56%,
            transparent 76%);
    filter:blur(20px);
}

.tj-final-hero-card::after{
    content:"";
    position:absolute;
    inset:42px 70px 36px;
    z-index:-1;
    background:rgba(255,255,255,.34);
    border-radius:50%;
    filter:blur(36px);
}

.tj-final-hero-text{
    position:relative;
    z-index:2;
    max-width:520px;
}

.tj-final-experience{
    display:inline-flex;
    align-items:center;
    padding:7px 15px;
    border-radius:999px;
    background:rgba(255,255,255,.78);
    color:#15566a;
    border:1px solid rgba(21,86,106,.13);
    box-shadow:0 6px 18px rgba(23,75,88,.06);
    font-size:13px;
    font-weight:800;
}

.tj-final-hero-text h1{
    margin:15px 0 11px;
    color:#14364a;
    font-size:clamp(35px,3.7vw,52px);
    line-height:1.25;
    font-weight:900;
    letter-spacing:-.7px;
}

.tj-final-hero-text p{
    margin:0;
    max-width:510px;
    color:#53676b;
    font-size:16px;
    line-height:2;
    font-weight:600;
}

.tj-final-hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:21px;
}

.tj-final-primary-btn,
.tj-final-secondary-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:10px 19px;
    border-radius:11px;
    font-weight:900;
    transition:transform .2s ease,box-shadow .2s ease;
}

.tj-final-primary-btn{
    background:#11697a;
    color:#fff!important;
    box-shadow:0 12px 25px rgba(17,105,122,.19);
}

.tj-final-secondary-btn{
    background:rgba(255,255,255,.82);
    color:#11697a!important;
    border:1px solid rgba(17,105,122,.16);
}

.tj-final-primary-btn:hover,
.tj-final-secondary-btn:hover{
    transform:translateY(-2px);
}

.tj-final-hero-machine{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
}

.tj-final-hero-machine img{
    width:min(100%,430px);
    opacity:.84;
    filter:drop-shadow(0 18px 24px rgba(16,53,66,.09));
}

/* کارت‌های اصلی با نقش ترنج گوشه‌ای */
.tj-final-main-cards{
    position:relative;
    z-index:3;
    width:min(100%,1080px);
    margin:-4px auto 0;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:15px;
}

.tj-final-main-card{
    position:relative;
    overflow:hidden;
    min-height:126px;
    padding:22px 14px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    border-radius:20px;
    color:#fff!important;
    box-shadow:0 15px 32px rgba(21,61,59,.14);
    transition:transform .2s ease,box-shadow .2s ease;
}

.tj-final-main-card:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 38px rgba(21,61,59,.18);
}

.tj-final-main-card::before{
    content:"";
    position:absolute;
    inset:0;
    background-image:
        url('./persian-card-pattern.svg'),
        url('./persian-card-pattern.svg');
    background-repeat:no-repeat,no-repeat;
    background-size:150px auto,145px auto;
    background-position:left -38px bottom -44px,right -42px top -46px;
    opacity:.23;
    pointer-events:none;
}

.tj-final-main-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(145deg,rgba(255,255,255,.14),transparent 48%),
        radial-gradient(circle at 50% 0,rgba(255,255,255,.09),transparent 46%);
    pointer-events:none;
}

.tj-final-main-card strong,
.tj-final-main-card span{
    position:relative;
    z-index:1;
}

.tj-final-main-card strong{
    font-family:'TJMitra','TJYekan',Tahoma,sans-serif;
    font-size:29px;
    line-height:1.25;
    font-weight:900;
}

.tj-final-main-card span{
    margin-top:7px;
    font-size:13px;
    font-weight:700;
    opacity:.94;
}

.tj-card-book{
    background:#136f69;
}

.tj-card-booklet{
    background:#c4a05e;
}

.tj-card-digital{
    background:#24486c;
}

.tj-card-publishing{
    background:#237d74;
}

@media(max-width:980px){
    .tj-final-home-hero{
        padding:18px 0 24px;
        background-position:center top;
    }

    .tj-final-hero-card{
        width:min(100%,700px);
        min-height:430px;
        grid-template-columns:1fr;
        gap:8px;
        padding:32px 28px 18px;
        text-align:center;
    }

    .tj-final-hero-card::before{
        inset:8px -25px 0;
        filter:blur(23px);
    }

    .tj-final-hero-text{
        max-width:none;
        margin:0 auto;
    }

    .tj-final-hero-text h1{
        font-size:clamp(30px,8vw,43px);
    }

    .tj-final-hero-text p{
        font-size:15px;
        line-height:1.85;
    }

    .tj-final-hero-buttons{
        justify-content:center;
        margin-top:16px;
    }

    .tj-final-hero-machine img{
        width:min(100%,320px);
        opacity:.79;
    }

    .tj-final-main-cards{
        width:min(100%,700px);
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
    }

    .tj-final-main-card{
        min-height:112px;
        border-radius:18px;
    }

    .tj-final-main-card strong{
        font-size:27px;
    }
}

@media(max-width:560px){
    .tj-final-home-hero{
        padding:12px 0 18px;
        background-size:100% 100%;
        background-position:center top;
    }

    .tj-final-hero-identity-bg{
        background:rgba(248,244,237,.28);
    }

    .tj-final-hero-card{
        min-height:405px;
        padding:25px 15px 13px;
    }

    .tj-final-hero-card::before{
        inset:4px -30px;
        filter:blur(25px);
    }

    .tj-final-experience{
        font-size:12px;
        padding:6px 10px;
    }

    .tj-final-hero-text h1{
        margin:11px 0 8px;
        font-size:31px;
    }

    .tj-final-hero-text p{
        font-size:14px;
        line-height:1.75;
    }

    .tj-final-hero-buttons{
        gap:8px;
    }

    .tj-final-primary-btn,
    .tj-final-secondary-btn{
        width:100%;
        min-height:42px;
    }

    .tj-final-hero-machine img{
        width:275px;
        opacity:.76;
    }

    .tj-final-main-cards{
        grid-template-columns:1fr 1fr;
        gap:9px;
    }

    .tj-final-main-card{
        min-height:104px;
        padding:17px 8px;
        border-radius:17px;
    }

    .tj-final-main-card::before{
        background-size:118px auto,112px auto;
        background-position:left -34px bottom -38px,right -34px top -40px;
    }

    .tj-final-main-card strong{
        font-size:24px;
    }

    .tj-final-main-card span{
        font-size:12px;
    }
}

/* Restore main header on redesigned homepage */
.tj-reference-home .tj-site-header{
    display:block !important;
    background:#fffdf8 !important;
    border-bottom:1px solid rgba(18,55,137,.13) !important;
    box-shadow:0 7px 22px rgba(18,55,137,.08) !important;
}

/* Approved navy top bar */
.tj-reference-home .tj-topbar{
    background:#12398b !important;
    color:#fff !important;
    border-bottom-color:rgba(255,255,255,.14) !important;
}

.tj-reference-home .tj-topbar a,
.tj-reference-home .tj-topbar span{
    color:#fff !important;
}

/* Approved white navigation area */
.tj-reference-home .tj-header-inner{
    background:#fffdf8;
}

.tj-reference-home .tj-menu a{
    color:#17346f !important;
    background:transparent !important;
}

.tj-reference-home .tj-menu li.current-menu-item > a,
.tj-reference-home .tj-menu a:hover{
    color:#12398b !important;
    background:transparent !important;
    box-shadow:inset 0 -2px 0 #c99a32;
}

/* Approved navy account button */
.tj-reference-home .tj-user-menu summary,
.tj-reference-home .tj-header-cta{
    background:#12398b !important;
    color:#fff !important;
    box-shadow:0 8px 18px rgba(18,57,139,.17) !important;
}

.tj-reference-home .tj-user-menu summary:hover,
.tj-reference-home .tj-header-cta:hover{
    background:#0c2d72 !important;
}

.tj-reference-home .tj-user-menu-icon{
    border-color:#d7ad4f !important;
}

.tj-reference-home .tj-brand img{
    box-shadow:
        0 0 0 2px #fff,
        0 7px 18px rgba(18,57,139,.16) !important;
}

/* Fixed full-page architecture background — preserve image proportions */
body.tj-reference-home{
    background-color:#f7f2e9 !important;
    background-image:url('./hero-architecture-background.webp') !important;
    background-repeat:no-repeat !important;
    background-position:center center !important;
    background-size:cover !important;
    background-attachment:fixed !important;
}

/* Hero uses the fixed page background instead of stretching its own copy */
.tj-reference-home .tj-final-home-hero{
    background-color:transparent !important;
    background-image:none !important;
}

/* Reveal fixed architecture background through homepage sections */
.tj-reference-home .tj-main,
.tj-reference-home .tj-section,
.tj-reference-home .tj-soft,
.tj-reference-home .tj-home-editorial,
.tj-reference-home .tj-home-services,
.tj-reference-home .tj-home-blog{
    background:transparent !important;
    border-color:transparent !important;
}

/* Keep text readable while allowing the background to remain visible */
.tj-reference-home .tj-home-editorial-grid{
    padding:22px;
    border:1px solid rgba(255,255,255,.55);
    border-radius:18px;
    background:rgba(255,253,248,.82);
    backdrop-filter:blur(7px);
    box-shadow:0 12px 30px rgba(20,50,70,.06);
}

.tj-reference-home .tj-home-section-heading{
    width:max-content;
    max-width:100%;
    margin-inline:auto;
    padding:8px 18px;
    border-radius:14px;
    background:rgba(255,253,248,.78);
    backdrop-filter:blur(6px);
}

.tj-reference-home .tj-home-blog-item,
.tj-reference-home .tj-home-service-list > div{
    background:rgba(255,255,255,.88);
    backdrop-filter:blur(5px);
}


/* Homepage unified width and seamless hero blend */
:root{
    --tj-home-content-width:1080px;
}

/* Header, Hero and all homepage sections use one horizontal width */
.tj-site-header .tj-container,
.tj-reference-home .tj-container,
.tj-reference-home .tj-home-compact-container{
    width:min(
        var(--tj-home-content-width),
        calc(100% - 34px)
    ) !important;
    margin-inline:auto !important;
}

.tj-reference-home .tj-final-hero-card,
.tj-reference-home .tj-final-main-cards{
    width:100% !important;
    max-width:var(--tj-home-content-width) !important;
}

/* Fade the pale Hero overlay before it reaches the section edge */
.tj-reference-home .tj-final-hero-identity-bg{
    -webkit-mask-image:linear-gradient(
        to bottom,
        #000 0%,
        #000 68%,
        rgba(0,0,0,.78) 80%,
        rgba(0,0,0,.32) 91%,
        transparent 100%
    );
    mask-image:linear-gradient(
        to bottom,
        #000 0%,
        #000 68%,
        rgba(0,0,0,.78) 80%,
        rgba(0,0,0,.32) 91%,
        transparent 100%
    );
}

/* Prevent an abrupt solid strip below the service cards */
.tj-reference-home .tj-final-home-hero{
    padding-bottom:34px !important;
}


/* Approved image service cards */
.tj-reference-home .tj-final-image-cards{
    width:100% !important;
    max-width:var(--tj-home-content-width) !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:14px !important;
    align-items:stretch;
}

.tj-reference-home .tj-final-image-card{
    display:block;
    position:relative;
    min-width:0;
    border-radius:18px;
    overflow:hidden;
    line-height:0;
    background:transparent;
    box-shadow:0 12px 24px rgba(17,48,70,.12);
    transition:transform .22s ease,box-shadow .22s ease;
}

.tj-reference-home .tj-final-image-card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 32px rgba(17,48,70,.17);
}

.tj-reference-home .tj-final-image-card img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:auto;
    object-fit:contain;
    border-radius:18px;
}

@media(max-width:980px){
    .tj-reference-home .tj-final-image-cards{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:12px !important;
    }
}

@media(max-width:620px){
    .tj-reference-home .tj-final-image-cards{
        grid-template-columns:1fr !important;
        gap:10px !important;
    }

    .tj-reference-home .tj-final-image-card{
        width:min(100%,420px);
        margin-inline:auto;
    }
}


/* Global public-site header and architecture background */
body.tj-public-site{
    background-color:#f7f2e9 !important;
    background-image:url('./hero-architecture-background.webp') !important;
    background-repeat:no-repeat !important;
    background-position:center center !important;
    background-size:cover !important;
    background-attachment:fixed !important;
}

/* Approved header on every public page */
.tj-public-site .tj-site-header{
    display:block !important;
    background:#fffdf8 !important;
    border-bottom:1px solid rgba(18,55,137,.13) !important;
    box-shadow:0 7px 22px rgba(18,55,137,.08) !important;
}

.tj-public-site .tj-topbar{
    background:#12398b !important;
    color:#fff !important;
    border-bottom-color:rgba(255,255,255,.14) !important;
}

.tj-public-site .tj-topbar a,
.tj-public-site .tj-topbar span{
    color:#fff !important;
}

.tj-public-site .tj-header-inner{
    background:#fffdf8;
}

.tj-public-site .tj-menu a{
    color:#17346f !important;
    background:transparent !important;
}

.tj-public-site .tj-menu li.current-menu-item > a,
.tj-public-site .tj-menu a:hover{
    color:#12398b !important;
    background:transparent !important;
    box-shadow:inset 0 -2px 0 #c99a32;
}

.tj-public-site .tj-user-menu summary,
.tj-public-site .tj-header-cta{
    background:#12398b !important;
    color:#fff !important;
    box-shadow:0 8px 18px rgba(18,57,139,.17) !important;
}

.tj-public-site .tj-user-menu summary:hover,
.tj-public-site .tj-header-cta:hover{
    background:#0c2d72 !important;
}

.tj-public-site .tj-user-menu-icon{
    border-color:#d7ad4f !important;
}

/* Use one width across header and internal pages */
.tj-public-site .tj-site-header .tj-container,
.tj-public-site .tj-section > .tj-container{
    width:min(1080px,calc(100% - 34px)) !important;
    margin-inline:auto !important;
}

/* Let the fixed background remain visible */
.tj-public-site .tj-main,
.tj-public-site .tj-section,
.tj-public-site .tj-soft{
    background:transparent !important;
    border-color:transparent !important;
}

/* Readable translucent content surfaces */
.tj-public-site .tj-content-card,
.tj-public-site .tj-entry-content,
.tj-public-site .tj-section-card-head,
.tj-public-site .tj-main-tool,
.tj-public-site .tj-side-tools > div,
.tj-public-site .tj-tool,
.tj-public-site .tj-calc-section,
.tj-public-site .tj-order-page-form,
.tj-public-site .tj-blog-card{
    background:rgba(255,253,248,.90) !important;
    border-color:rgba(226,216,198,.85) !important;
    backdrop-filter:blur(7px);
    -webkit-backdrop-filter:blur(7px);
    box-shadow:0 12px 30px rgba(20,50,70,.07);
}

/* Headings stay readable without creating a solid full-width band */
.tj-public-site:not(.tj-reference-home) .tj-section-head{
    padding:16px 20px;
    border-radius:16px;
    background:rgba(255,253,248,.84);
    backdrop-filter:blur(7px);
    -webkit-backdrop-filter:blur(7px);
}

@media(max-width:640px){
    .tj-public-site .tj-site-header .tj-container,
    .tj-public-site .tj-section > .tj-container{
        width:calc(100% - 22px) !important;
    }

    .tj-public-site:not(.tj-reference-home) .tj-section-head{
        padding:13px 14px;
    }
}


/* Transparent calculator outer shell */
.tj-public-site .tj-book-calculator{
    background:rgba(255,253,248,.58) !important;
    border-color:rgba(255,255,255,.55) !important;
    backdrop-filter:blur(4px) !important;
    -webkit-backdrop-filter:blur(4px) !important;
    box-shadow:0 14px 34px rgba(20,50,70,.08) !important;
}

/* Internal form panels remain readable */
.tj-public-site .tj-book-calculator .tj-calc-section{
    background:rgba(255,253,248,.90) !important;
}

/* Reduce the solid heading band above calculator pages */
.tj-public-site:not(.tj-reference-home) .tj-section-head{
    background:rgba(255,253,248,.66) !important;
}

/* Reveal fixed background on standalone calculator pages */
.tj-public-site .tj-standalone-order-page{
    background:transparent !important;
}


/* Final mobile collapsible header */
.tj-mobile-nav{
    display:none;
}

@media(max-width:760px){

    /* Compact top information bar */
    .tj-public-site .tj-topbar-inner{
        min-height:42px;
        padding:6px 0 !important;
        display:flex !important;
        flex-direction:row !important;
        align-items:center !important;
        justify-content:space-between !important;
        gap:10px !important;
    }

    .tj-public-site .tj-topbar-right,
    .tj-public-site .tj-topbar-left{
        display:flex;
        align-items:center;
        gap:7px;
        font-size:11px;
        white-space:nowrap;
    }

    /* Compact main mobile header */
    .tj-public-site .tj-header-inner{
        position:relative;
        min-height:76px;
        padding:8px 0 !important;
        display:grid !important;
        grid-template-columns:48px minmax(0,1fr) 48px;
        align-items:center !important;
        gap:8px !important;
    }

    /* Hide desktop navigation and account button */
    .tj-public-site .tj-header-inner > .tj-nav,
    .tj-public-site .tj-header-actions{
        display:none !important;
    }

    /* Centered logo */
    .tj-public-site .tj-brand{
        grid-column:2;
        grid-row:1;
        justify-self:center;
        margin:0 !important;
    }

    .tj-public-site .tj-brand img{
        width:58px !important;
        height:58px !important;
        border-radius:50%;
    }

    /* Hamburger button */
    .tj-public-site .tj-mobile-nav{
        display:block;
        position:static;
        grid-column:3;
        grid-row:1;
        justify-self:end;
        z-index:110;
    }

    .tj-public-site .tj-mobile-nav > summary{
        width:44px;
        height:44px;
        padding:0;
        display:flex;
        align-items:center;
        justify-content:center;
        list-style:none;
        cursor:pointer;
        border:1px solid rgba(18,57,139,.18);
        border-radius:12px;
        background:#12398b;
        box-shadow:0 8px 18px rgba(18,57,139,.16);
    }

    .tj-public-site .tj-mobile-nav > summary::-webkit-details-marker{
        display:none;
    }

    .tj-mobile-menu-lines{
        width:22px;
        display:grid;
        gap:5px;
    }

    .tj-mobile-menu-lines i{
        display:block;
        width:22px;
        height:2px;
        border-radius:999px;
        background:#fff;
        transition:transform .2s ease,opacity .2s ease;
    }

    .tj-mobile-nav[open] .tj-mobile-menu-lines i:nth-child(1){
        transform:translateY(7px) rotate(45deg);
    }

    .tj-mobile-nav[open] .tj-mobile-menu-lines i:nth-child(2){
        opacity:0;
    }

    .tj-mobile-nav[open] .tj-mobile-menu-lines i:nth-child(3){
        transform:translateY(-7px) rotate(-45deg);
    }

    /* Full-width dropdown panel */
    .tj-public-site .tj-mobile-nav-panel{
        position:absolute;
        z-index:120;
        top:calc(100% + 7px);
        right:0;
        left:0;
        padding:12px;
        border:1px solid rgba(18,57,139,.14);
        border-radius:16px;
        background:rgba(255,253,248,.98);
        box-shadow:0 18px 42px rgba(17,41,88,.20);
        backdrop-filter:blur(14px);
        -webkit-backdrop-filter:blur(14px);
    }

    .tj-public-site .tj-mobile-nav:not([open]) .tj-mobile-nav-panel{
        display:none;
    }

    /* Vertical navigation links */
    .tj-public-site .tj-mobile-nav-links{
        width:100%;
        overflow:visible;
    }

    .tj-public-site .tj-mobile-nav-links .tj-menu{
        width:100%;
        margin:0;
        padding:0;
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:7px;
        white-space:normal !important;
        list-style:none;
    }

    .tj-public-site .tj-mobile-nav-links .tj-menu li{
        width:100%;
    }

    .tj-public-site .tj-mobile-nav-links .tj-menu a{
        min-height:43px;
        padding:9px 10px !important;
        display:flex;
        align-items:center;
        justify-content:center;
        text-align:center;
        border:1px solid #e4ded2;
        border-radius:10px;
        background:#fff !important;
        color:#17346f !important;
        font-size:13px;
        font-weight:800;
        box-shadow:none !important;
    }

    .tj-public-site .tj-mobile-nav-links .tj-menu a:hover,
    .tj-public-site .tj-mobile-nav-links .tj-menu li.current-menu-item > a{
        border-color:#c99a32;
        background:#f8f2e5 !important;
        color:#12398b !important;
    }

    /* Account actions inside dropdown */
    .tj-public-site .tj-mobile-account-links{
        margin-top:11px;
        padding-top:11px;
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:7px;
        border-top:1px solid #e8e0d2;
    }

    .tj-public-site .tj-mobile-account-links strong{
        grid-column:1/-1;
        padding:4px 7px;
        color:#17346f;
        font-size:13px;
    }

    .tj-public-site .tj-mobile-account-links a{
        min-height:42px;
        padding:9px 10px;
        display:flex;
        align-items:center;
        justify-content:center;
        text-align:center;
        border:1px solid #dcd5c8;
        border-radius:10px;
        background:#fff;
        color:#17346f;
        font-size:12px;
        font-weight:800;
    }

    .tj-public-site .tj-mobile-account-links .tj-mobile-login-link{
        background:#12398b;
        border-color:#12398b;
        color:#fff;
    }
}

@media(max-width:390px){
    .tj-public-site .tj-mobile-nav-links .tj-menu,
    .tj-public-site .tj-mobile-account-links{
        grid-template-columns:1fr;
    }
}


/* Mobile menu right aligned and simple vertical list */
@media(max-width:760px){

    /* Hamburger on the right side */
    .tj-public-site .tj-mobile-nav{
        grid-column:1 !important;
        justify-self:start !important;
    }

    /* Simple full-width dropdown */
    .tj-public-site .tj-mobile-nav-panel{
        right:0 !important;
        left:0 !important;
        padding:8px 18px 12px !important;
        border-radius:0 0 16px 16px !important;
    }

    /* One vertical list instead of separate buttons */
    .tj-public-site .tj-mobile-nav-links .tj-menu{
        display:block !important;
        width:100% !important;
    }

    .tj-public-site .tj-mobile-nav-links .tj-menu li{
        width:100% !important;
        margin:0 !important;
    }

    .tj-public-site .tj-mobile-nav-links .tj-menu a{
        min-height:0 !important;
        padding:12px 4px !important;
        display:block !important;
        text-align:right !important;
        border:0 !important;
        border-bottom:1px solid #e8e0d2 !important;
        border-radius:0 !important;
        background:transparent !important;
        box-shadow:none !important;
        color:#17346f !important;
        font-size:14px !important;
    }

    .tj-public-site .tj-mobile-nav-links .tj-menu li:last-child a{
        border-bottom:0 !important;
    }

    .tj-public-site .tj-mobile-nav-links .tj-menu a:hover,
    .tj-public-site .tj-mobile-nav-links .tj-menu li.current-menu-item > a{
        background:transparent !important;
        color:#c18b20 !important;
        box-shadow:none !important;
    }

    /* Account links continue below the main menu as a simple list */
    .tj-public-site .tj-mobile-account-links{
        display:block !important;
        margin-top:5px !important;
        padding-top:5px !important;
    }

    .tj-public-site .tj-mobile-account-links strong{
        display:block;
        padding:10px 4px !important;
    }

    .tj-public-site .tj-mobile-account-links a,
    .tj-public-site .tj-mobile-account-links .tj-mobile-login-link{
        min-height:0 !important;
        padding:12px 4px !important;
        display:block !important;
        text-align:right !important;
        border:0 !important;
        border-bottom:1px solid #e8e0d2 !important;
        border-radius:0 !important;
        background:transparent !important;
        color:#17346f !important;
        font-size:14px !important;
    }

    .tj-public-site .tj-mobile-account-links a:last-child{
        border-bottom:0 !important;
    }
}

/*
 * HEADER_UI_COMPACT_V1
 * هدر جمع‌وجور در تبلت و پنجره باریک، بدون اسکرول داخلی.
 */

/* حذف هر نوع اسکرول یا محدودیت ارتفاع داخلی از هدر. */
.tj-public-site .tj-site-header,
.tj-public-site .tj-topbar,
.tj-public-site .tj-topbar-inner,
.tj-public-site .tj-header-inner{
    overflow:visible!important;
    max-height:none!important;
}

.tj-public-site .tj-mobile-nav > summary{
    list-style:none!important;
}

.tj-public-site .tj-mobile-nav > summary::-webkit-details-marker{
    display:none!important;
}

.tj-public-site .tj-mobile-nav > summary::marker{
    content:""!important;
}

/*
 * حالت میانی: تبلت یا پنجره دسکتاپ باریک.
 * همبرگر راست، لوگو وسط و حساب کاربری چپ.
 */
@media (min-width:761px) and (max-width:980px){

    .tj-public-site .tj-site-header .tj-container{
        width:calc(100% - 24px)!important;
        max-width:none!important;
        overflow:visible!important;
    }

    .tj-public-site .tj-header-inner{
        display:grid!important;
        grid-template-columns:minmax(150px,1fr) auto minmax(150px,1fr)!important;
        grid-template-rows:1fr!important;
        flex-direction:initial!important;
        align-items:center!important;
        min-height:74px!important;
        padding:8px 0!important;
        gap:12px!important;
    }

    /* منوی افقی دسکتاپ در این عرض مخفی می‌شود. */
    .tj-public-site .tj-header-inner > .tj-nav{
        display:none!important;
        overflow:visible!important;
    }

    /* همبرگر سمت راست. */
    .tj-public-site .tj-mobile-nav{
        display:block!important;
        position:relative!important;
        grid-column:1!important;
        grid-row:1!important;
        justify-self:start!important;
        align-self:center!important;
        z-index:130!important;
    }

    .tj-public-site .tj-mobile-nav > summary{
        display:grid!important;
        place-items:center!important;
        width:44px!important;
        height:44px!important;
        padding:0!important;
        border:0!important;
        border-radius:10px!important;
        background:#12398b!important;
        color:#fff!important;
        cursor:pointer!important;
        box-shadow:0 5px 13px rgba(18,57,139,.18)!important;
    }

    .tj-public-site .tj-mobile-menu-lines{
        width:22px!important;
        display:grid!important;
        gap:5px!important;
    }

    .tj-public-site .tj-mobile-menu-lines i{
        display:block!important;
        width:22px!important;
        height:2px!important;
        margin:0!important;
        border-radius:999px!important;
        background:#fff!important;
    }

    .tj-public-site .tj-mobile-menu-text{
        display:none!important;
    }

    /* لوگو دقیقاً وسط. */
    .tj-public-site .tj-brand{
        display:flex!important;
        grid-column:2!important;
        grid-row:1!important;
        justify-self:center!important;
        align-self:center!important;
        margin:0!important;
    }

    .tj-public-site .tj-brand img{
        width:54px!important;
        height:54px!important;
    }

    /* حساب کاربری سمت چپ و در همان ردیف. */
    .tj-public-site .tj-header-actions{
        display:flex!important;
        grid-column:3!important;
        grid-row:1!important;
        justify-self:end!important;
        align-self:center!important;
        margin:0!important;
    }

    .tj-public-site .tj-user-menu summary{
        min-width:130px!important;
        max-width:175px!important;
        height:42px!important;
        padding-inline:12px!important;
    }

    /* منوی کشویی همبرگر. */
    .tj-public-site .tj-mobile-nav-panel{
        position:absolute!important;
        z-index:150!important;
        top:calc(100% + 8px)!important;
        right:0!important;
        left:auto!important;
        width:min(350px,calc(100vw - 28px))!important;
        max-height:calc(100vh - 125px)!important;
        padding:10px!important;
        overflow-x:hidden!important;
        overflow-y:auto!important;
        border:1px solid #d9dfeb!important;
        border-radius:12px!important;
        background:#fffdf8!important;
        box-shadow:0 18px 38px rgba(21,45,90,.18)!important;
    }

    .tj-public-site .tj-mobile-nav:not([open]) .tj-mobile-nav-panel{
        display:none!important;
    }

    .tj-public-site .tj-mobile-nav-links .tj-menu{
        display:grid!important;
        grid-template-columns:1fr!important;
        width:100%!important;
        margin:0!important;
        padding:0!important;
        gap:3px!important;
        white-space:normal!important;
        overflow:visible!important;
    }

    .tj-public-site .tj-mobile-nav-links .tj-menu a{
        display:block!important;
        padding:9px 11px!important;
        border-radius:7px!important;
    }

    /* در حالت تبلت، حساب کاربری بیرون منو حضور دارد. */
    .tj-public-site .tj-mobile-account-links{
        display:none!important;
    }
}

/*
 * موبایل واقعی: همبرگر راست و لوگو وسط.
 * حساب کاربری فقط داخل منوی کشویی می‌ماند.
 */
@media (max-width:760px){

    .tj-public-site .tj-header-inner{
        display:grid!important;
        grid-template-columns:48px minmax(0,1fr) 48px!important;
        grid-template-rows:1fr!important;
        flex-direction:initial!important;
        align-items:center!important;
        min-height:70px!important;
        padding:7px 0!important;
        gap:8px!important;
        overflow:visible!important;
    }

    .tj-public-site .tj-header-inner > .tj-nav,
    .tj-public-site .tj-header-actions{
        display:none!important;
    }

    .tj-public-site .tj-mobile-nav{
        display:block!important;
        position:relative!important;
        grid-column:1!important;
        grid-row:1!important;
        justify-self:start!important;
        align-self:center!important;
        overflow:visible!important;
    }

    .tj-public-site .tj-brand{
        display:flex!important;
        grid-column:2!important;
        grid-row:1!important;
        justify-self:center!important;
        align-self:center!important;
        margin:0!important;
    }

    .tj-public-site .tj-brand img{
        width:52px!important;
        height:52px!important;
    }

    .tj-public-site .tj-mobile-nav > summary{
        display:grid!important;
        place-items:center!important;
        width:44px!important;
        height:44px!important;
        padding:0!important;
        border-radius:10px!important;
        overflow:hidden!important;
    }

    .tj-public-site .tj-mobile-menu-text{
        display:none!important;
    }

    .tj-public-site .tj-mobile-nav-panel{
        overflow-x:hidden!important;
        overflow-y:auto!important;
        max-height:calc(100vh - 120px)!important;
    }
}

/*
 * MOBILE_MENU_PANEL_WIDTH_FIX_V1
 *
 * پنل منوی موبایل نباید عرض خود را از عنصر ۴۴ پیکسلی
 * همبرگر بگیرد. عرض پنل برابر فضای واقعی داخل صفحه است.
 */
@media (max-width:760px){
    .tj-public-site .tj-mobile-nav-panel{
        right:0!important;
        left:auto!important;
        width:calc(100vw - 22px)!important;
        min-width:0!important;
        max-width:none!important;
        box-sizing:border-box!important;
    }
}
