.elementor-291 .elementor-element.elementor-element-66b48cb{--display:flex;--min-height:1200px;}/* Start custom CSS *//* --- متغیرهای رنگی و فونت --- */
:root {
    --primary-green: #059669;
    --dark-green: #064e3b;
    --gold: #d4af37;
    --text-dark: #1f2937;
    --bg-light: #f3f4f6;
    --white: #ffffff;
    --font-body: 'Vazirmatn', sans-serif;
    --font-heading: 'Lalezar', cursive;
}

/* --- جلوگیری از تداخل با قالب وردپرس --- */
.isarin-container * {
    box-sizing: border-box;
}

/* --- کدهای اضافه برای خروج از کانتینر و تمام‌صفحه شدن --- */
.isarin-container {
    font-family: var(--font-body);
    color: var(--text-dark);
    direction: rtl;
    text-align: right;
    background-color: var(--bg-light);
    padding: 50px 2vw; 
    
    /* ترفند فول ویدث (Full Width) */
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    overflow-x: hidden;
}

/* --- کانتینر اصلی محتوا --- */
.page-wrapper {
    width: 100%;
    max-width: 100%; 
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; 
}

/* --- ستون ۱: پیش‌فاکتور (ماشین حساب) --- */
.invoice-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 40px;
    border-top: 5px solid var(--primary-green);
    display: flex;
    flex-direction: column;
}

.section-header {
    margin-bottom: 30px;
    text-align: center;
}
.section-header h2 { font-family: var(--font-heading); font-size: 1.8rem; color: var(--dark-green); margin-bottom: 5px; }
.section-header p { font-size: 0.9rem; color: #6b7280; margin: 0; line-height: 1.6;}

/* --- جدول قیمت --- */
.calc-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 1rem; }
.calc-table th { text-align: right; padding: 12px; background: #f9fafb; color: #4b5563; border-bottom: 2px solid #e5e7eb; }
.calc-table td { padding: 15px 12px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }

.qty-input {
    width: 70px; padding: 8px; text-align: center; border: 1px solid #d1d5db; border-radius: 6px; font-family: var(--font-body); font-size: 1rem;
}

/* --- باکس جمع کل --- */
.total-box {
    background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 25px; margin-top: auto;
}
.total-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 1rem; }
.final-price { font-weight: 800; font-size: 1.3rem; color: var(--dark-green); border-top: 1px dashed #16a34a; padding-top: 15px; margin-top: 15px; }

/* --- ستون ۲: مشاوره رایگان (فرم) --- */
.consult-section {
    background: #111827;
    color: white;
    border-radius: 15px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* افکت پس‌زمینه فرم */
.consult-section::before {
    content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 50%);
    pointer-events: none;
}

.consult-header h2 { font-family: var(--font-heading); font-size: 1.8rem; color: var(--gold); margin-bottom: 10px; }
.consult-header p { font-size: 0.9rem; opacity: 0.8; margin-bottom: 30px; line-height: 1.6;}

.form-group { margin-bottom: 25px; }
.form-label { display: block; margin-bottom: 8px; font-size: 0.95rem; color: #d1d5db; }

.form-input, .form-select, .form-textarea {
    width: 100%; padding: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; color: white; font-family: var(--font-body); transition: 0.3s; font-size: 1rem;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none; border-color: var(--gold); background: rgba(255,255,255,0.1);
}

/* --- دکمه‌ها --- */
.btn-green {
    width: 100%; background: var(--primary-green); color: white; padding: 14px; border: none; border-radius: 8px;
    font-weight: 700; cursor: pointer; transition: 0.3s; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 1.1rem; margin-top: 20px;
}
.btn-green:hover { background: var(--dark-green); }

.btn-gold {
    width: 100%; background: var(--gold); color: #111827; padding: 14px; border: none; border-radius: 8px;
    font-weight: 700; cursor: pointer; transition: 0.3s; margin-top: 15px; font-size: 1.1rem;
}
.btn-gold:hover { background: #f59e0b; }

.btn-outline {
    width: 100%; background: transparent; border: 2px solid var(--primary-green); color: var(--primary-green);
    padding: 12px; border-radius: 8px; font-weight: 600; cursor: pointer; margin-top: 15px; transition: 0.3s; font-size: 1rem;
}
.btn-outline:hover { background: #f0fdf4; }

/* --- تنظیمات چاپ (Print) --- */
@media print {
    .isarin-container { background: white !important; padding: 0 !important; width: 100% !important; margin: 0 !important; left: auto !important; right: auto !important; }
    .consult-section, .btn-green, .btn-outline { display: none !important; }
    .page-wrapper { display: block; width: 100%; margin: 0; padding: 0; }
    .invoice-section { box-shadow: none; border: none; padding: 0; width: 100%; }
    .qty-input { border: none; text-align: center; }
    .invoice-section::after {
        content: 'پیش‌فاکتور سیستمی - ایثارین';
        position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
        font-size: 0.8rem; color: #9ca3af;
    }
}

/* --- واکنش‌گرایی (موبایل و تبلت) --- */
@media (max-width: 900px) {
    .page-wrapper { grid-template-columns: 1fr; }
    .isarin-container { padding: 30px 4vw; }
}/* End custom CSS */