@font-face{font-family:Vazirmatn;src:url(fonts/Vazirmatn-Regular.woff2) format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Vazirmatn;src:url(fonts/Vazirmatn-Medium.woff2) format('woff2');font-weight:500;font-display:swap}@font-face{font-family:Vazirmatn;src:url(fonts/Vazirmatn-Bold.woff2) format('woff2');font-weight:700 900;font-display:swap}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:#f5f8f3;color:#183e37;font:14px/1.85 Vazirmatn,Tahoma,sans-serif}button,input,textarea{font:inherit}a{text-decoration:none;color:inherit}button{cursor:pointer}.auth-body{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 5% 10%,#dcead1,transparent 35%),#f3f7f0}.auth-card{width:min(100%,440px);background:#fff;padding:38px;border:1px solid #e1e9df;box-shadow:0 28px 70px #18372a14;border-radius:24px}.auth-mark,.editor-logo{display:inline-grid;place-items:center;background:#143c34;color:#d7f09e;border-radius:14px;width:48px;height:48px;font-size:31px;line-height:1}.kicker{display:block;color:#5a9567;font-size:11px;font-weight:700;margin:18px 0 8px}.auth-card h1,.editor-intro h1{font-size:25px;line-height:1.5;margin:0}.auth-card p,.editor-intro p{font-size:12px;color:#708477;margin:7px 0 24px}.editor-field{display:flex;flex-direction:column;gap:7px;margin:0 0 17px;min-width:0}.editor-field>span{font-size:11px;font-weight:700;color:#60776a}.editor-field input,.editor-field textarea{width:100%;border:1px solid #dce6d9;background:#fcfdfa;color:#193d37;border-radius:10px;padding:11px 13px;outline:0;line-height:1.7;transition:border-color .2s,box-shadow .2s}.editor-field input:focus,.editor-field textarea:focus{border-color:#5b9d70;box-shadow:0 0 0 3px #77bb8524}.editor-field textarea{resize:vertical;min-height:84px}.primary-button{border:0;border-radius:11px;background:#14483d;color:#fff;font-weight:700;padding:12px 21px;box-shadow:0 8px 18px #1f554b27}.primary-button:hover{background:#20604f}.auth-card .primary-button{width:100%;margin-top:5px}.back-link{display:block;text-align:center;margin-top:23px;color:#64836d;font-size:12px}.notice{padding:13px 16px;border-radius:12px;margin:17px 0;background:#e7f2e4;color:#24563d;font-size:12px}.notice.error{background:#fff1ed;color:#a44432}.notice.warning{background:#fff3d9;color:#79551e}.editor-header{height:70px;position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid #dce8da;display:flex;align-items:center;justify-content:space-between;padding:0 32px}.editor-header>div{display:flex;align-items:center;gap:10px}.editor-header strong{font-size:15px}.editor-header small{font-size:11px;color:#87978b;margin-right:6px}.editor-logo{width:35px;height:35px;border-radius:9px;font-size:24px}.editor-header nav{display:flex;align-items:center;gap:18px;font-size:12px}.editor-header nav a{font-weight:700;color:#31715a}.editor-header form{margin:0}.editor-header button{background:none;border:0;color:#8d615f;font-size:12px}.editor-layout{display:grid;grid-template-columns:215px minmax(0,1fr);max-width:1480px;margin:auto}.editor-sidebar{height:calc(100vh - 70px);position:sticky;top:70px;padding:38px 26px 20px;border-left:1px solid #dce8da;display:flex;flex-direction:column;gap:3px}.editor-sidebar span{color:#91a196;font-size:11px;margin-bottom:13px}.editor-sidebar a{padding:9px 12px;border-radius:9px;font-size:12px;color:#627d6c}.editor-sidebar a:hover{background:#e7efe4;color:#124737}.editor-main{width:min(100%,1050px);padding:43px 48px 100px}.editor-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.editor-intro .kicker{margin-top:0}.editor-intro p{margin-bottom:0}.preview-button{white-space:nowrap;border:1px solid #bfd2c3;padding:11px 17px;border-radius:10px;color:#215849;font-size:12px;font-weight:700;background:white}.editor-section{background:#fff;border:1px solid #e0e9de;border-radius:18px;padding:26px;margin-bottom:20px;box-shadow:0 4px 18px #0b312808}.section-head{display:flex;align-items:flex-start;gap:15px;margin-bottom:26px;border-bottom:1px solid #eff3eb;padding-bottom:17px}.section-head>span{width:37px;height:37px;border-radius:10px;display:grid;place-items:center;flex:none;color:#447b57;background:#eaf4e6;font-size:12px;font-weight:700}.section-head h2{font-size:17px;line-height:1.4;margin:0 0 5px}.section-head p{font-size:11px;color:#8a9d8e;margin:0}.fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.repeat-card{background:#f9fbf7;border:1px solid #e4eddf;border-radius:12px;padding:18px;margin-bottom:17px}.repeat-card>strong{display:block;font-size:12px;margin-bottom:16px;color:#426753}.upload-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.upload-box{border:1px dashed #b9d4b9;background:#f8fcf6;padding:15px;border-radius:12px;min-width:0}.upload-box span{font-size:11px;font-weight:700;display:block;margin-bottom:11px}.upload-box img{width:100%;height:102px;object-fit:cover;border-radius:8px;margin-bottom:10px;background:#e3ecdf}.upload-box input{width:100%;font-size:10px;color:#60806a}.upload-box small{display:block;color:#9aab9b;font-size:10px;margin-top:8px}.check-row{display:flex;align-items:center;gap:9px;font-size:12px;color:#63796c;margin-top:18px}.check-row input{accent-color:#1d6b50;width:17px;height:17px}.section-toggle{background:#f1f8ed;border:1px solid #dfedda;padding:12px 15px;margin:-7px 0 23px;border-radius:10px;color:#265e45;font-weight:700}.subheading{font-size:14px;margin:22px 0 14px}.sticky-save{position:sticky;bottom:12px;z-index:5;background:#173e36;box-shadow:0 12px 30px #0f352c33;color:#d4e8da;border-radius:15px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:11px;margin:22px 0 30px}.sticky-save .primary-button{background:#d9f29d;color:#224332;white-space:nowrap}.field-action{display:flex;align-items:end;padding-bottom:17px}@media(max-width:1000px){.editor-layout{grid-template-columns:170px 1fr}.editor-main{padding:30px 25px 90px}.editor-sidebar{padding:30px 14px}.upload-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.editor-header{padding:0 17px}.editor-header small{display:none}.editor-layout{display:block}.editor-sidebar{display:none}.editor-main{padding:25px 17px 70px}.editor-intro{align-items:start;flex-direction:column}.fields-grid{grid-template-columns:1fr}.upload-grid{grid-template-columns:repeat(2,1fr)}.editor-section{padding:19px}.sticky-save span{display:none}.sticky-save .primary-button{width:100%}.editor-header nav{gap:8px}.editor-header nav a{font-size:10px}.editor-header strong{font-size:13px}}@media(max-width:420px){.upload-grid{grid-template-columns:1fr}.editor-header{gap:5px}.editor-logo{display:none}}
/* Theme selector remains usable even while the green theme is active. */
.theme-chooser{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:14px 0}.theme-chooser label{display:flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #dce7df;border-radius:12px;cursor:pointer;background:#fff}.theme-chooser label:has(input:checked){border-color:#1b8c75;box-shadow:0 0 0 2px #1b8c7525}.theme-chooser input{accent-color:#0b7e68}.theme-swatch{display:inline-block;width:32px;height:32px;border-radius:9px;flex:none}.theme-swatch-brand{background:linear-gradient(135deg,#073ca0 12%,#00b7dd 60%,#00bfa5 85%,#eeaa1a)}.theme-swatch-green{background:linear-gradient(135deg,#0b3430,#17a57d 65%,#d8f47b)}
.brand-logo{max-width:100%;max-height:100%;width:38px;height:38px;object-fit:contain;vertical-align:middle}
/* لوگوی تصویری در سربرگ بخش‌های ویرایشگر */
.section-head>span img{width:26px;height:26px;object-fit:contain;display:block}

/* نماد اعتماد و درگاه بانکی: جای کد HTML رسمی و پیش‌نمایش زنده */
.badge-code-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.badge-code-card{display:flex;flex-direction:column;gap:10px}
.badge-code-card textarea{width:100%;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:11px;line-height:1.8;direction:ltr;text-align:left;border:1px solid #dce6d9;background:#fcfdfa;color:#193d37;border-radius:10px;padding:11px 12px;resize:vertical;min-height:120px}
.badge-code-card textarea:focus{border-color:#5b9d70;box-shadow:0 0 0 3px #77bb8524;outline:0}
.badge-code-hint{display:block;font-size:10px;line-height:1.9;color:#8a9d8e}
.badge-code-preview{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;color:#4e6a5c;background:#f2f8ef;border:1px dashed #cfe0cd;border-radius:10px;padding:10px 12px}
.badge-code-preview>span:first-child{font-weight:700}
.badge-code-preview img{max-height:64px;width:auto;max-width:100%;background:#fff;border-radius:6px;padding:4px}
.badge-code-preview iframe{max-width:100%;border:0}
.badge-code-card .trust-badge-empty{color:#8a9d8e;background:#fff;border-radius:6px;padding:6px 10px}
.badge-code-card .check-row{margin-top:4px}
@media(max-width:900px){.badge-code-grid{grid-template-columns:1fr}}

/* منبع قیمت‌ها: نمایش فقط‌خواندنی تعرفه‌هایی که از پنل مدیر کل می‌آید */
.price-source{background:#f4f9f1;border:1px solid #dfeada;border-radius:12px;padding:14px 16px;margin:0 0 18px}
.price-source>strong{display:block;font-size:12px;color:#2f5a48;margin-bottom:9px}
.price-source ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.price-source-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;font-size:12px;color:#546e60}
.price-source-row>b{color:#1c4a3c}
.price-source-row>a{margin-inline-start:auto;font-size:11px;font-weight:700;color:#2f7a5b}
.price-source-empty{color:#9a7b4e;font-weight:700}
.price-source small{display:block;margin-top:10px;font-size:10px;color:#8a9d8e;line-height:1.9}
@media(max-width:620px){.price-source-row>a{margin-inline-start:0}}
