#dynamic-form,
#dynamic-form-section .card-title,
#dynamic-form-section .text-muted {
    display: none;
}
.highlight-text {
color: #0d6efd;
font-weight: 800;
font-family: Iranyekan;
}

#alertBox strong {
font-weight: 800;
font-family: Iranyekan;
}

    body {
        font-family: 'IRANYEKAN', sans-serif;
        background: #f0f4ff;
        direction: rtl;
    }

    .comtinrer {
        max-width: 1050px;
        margin: 0 auto;
        background: white;
        border-radius: 24px;
        box-shadow: 0 25px 70px rgba(37,99,235,0.13);
        overflow: hidden;
    }

    .hhhjer {
        background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
        color: white;
        padding: 36px 30px;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .hhhjer::before {
        content: '';
        position: absolute;
        top: -60px; left: -60px;
        width: 220px; height: 220px;
        background: rgba(255,255,255,0.06);
        border-radius: 50%;
    }
    .hhhjer::after {
        content: '';
        position: absolute;
        bottom: -40px; right: -40px;
        width: 160px; height: 160px;
        background: rgba(255,255,255,0.05);
        border-radius: 50%;
    }

    .hhhjer h1 { font-size: 26px; font-weight: 900; margin-bottom: 8px; position: relative; z-index: 1; }
    .hhhjer p { opacity: 0.88; font-size: 15px; position: relative; z-index: 1; }

    .conkent {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    @media (max-width: 768px) {
        .hhhjer h1 { font-size: 15px}
        .conkent { grid-template-columns: 1fr; }
    }

    .form-section { padding: 36px; background: #f8fafc; }
    .result-section {
        padding: 36px;
        background: white;
        border-right: 3px solid #e2e8f0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .form-group { margin-bottom: 18px; }

    label {
        display: block;
        margin-bottom: 7px;
        font-weight: 700;
        color: #1e293b;
        font-size: 13.5px;
    }

    input, select {
        width: 100%;
        padding: 11px 14px;
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        font-family: inherit;
        font-size: 14px;
        transition: all 0.25s;
        background: white;
        color: #1e293b;
        direction: rtl;
    }

    input:focus, select:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
    }

    .grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    @media (max-width: 500px) {
        .grid-2 { grid-template-columns: 1fr; }
    }

    .xui-bttn {
        width: 100%;
        padding: 15px;
        background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 17px;
        font-weight: 800;
        cursor: pointer;
        margin-top: 12px;
        transition: transform 0.2s, box-shadow 0.2s;
        font-family: inherit;
        letter-spacing: 0.3px;
    }

    .xui-bttn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(37,99,235,0.32);
    }

    .xui-bttn:active { transform: translateY(0); }

    /* Result */
    .result-box {
        display: none;
        animation: fadeIn 0.5s ease;
    }

    .result-box.show { display: block; }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(18px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .btu-display {
        text-align: center;
        margin-bottom: 24px;
        padding-bottom: 22px;
        border-bottom: 2px dashed #e2e8f0;
    }

    .btu-number {
        font-size: 50px;
        font-weight: 900;
        color: #2563eb;
        line-height: 1;
        margin-bottom: 6px;
        letter-spacing: -1px;
    }

    .btu-label {
        color: #64748b;
        font-size: 15px;
        margin-bottom: 8px;
    }

    .suggestion-box {
        background: #f0f9ff;
        border: 1.5px solid #bae6fd;
        border-radius: 14px;
        padding: 18px;
        margin-bottom: 16px;
    }

    .suggestion-title {
        color: #0369a1;
        font-weight: 800;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 15px;
    }

    .suggestion-text {
        color: #0c4a6e;
        line-height: 2;
        font-size: 14px;
    }

    /* Product card */
    .product-card {
        margin-top: 14px;
        padding: 14px 16px;
        background: white;
        border: 1.5px solid #dbeafe;
        border-radius: 12px;
        display: flex;
        align-items: center;
        gap: 14px;
        flex-wrap: wrap;
    }

    .product-card-info {
        flex: 1;
        min-width: 140px;
    }

    .product-type-badge {
        display: inline-block;
        font-size: 11px;
        font-weight: 700;
        padding: 2px 9px;
        border-radius: 20px;
        margin-bottom: 5px;
    }
    .badge-normal {
        background: #fef3c7;
        color: #92400e;
    }
    .badge-inverter {
        background: #dcfce7;
        color: #15803d;
    }

    .product-name {
        font-size: 13px;
        font-weight: 700;
        color: #1e293b;
        line-height: 1.5;
    }

    .product-buy-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
        color: #fff;
        padding: 9px 16px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
        font-family: inherit;
        transition: transform 0.15s, box-shadow 0.15s;
        white-space: nowrap;
    }

    .product-buy-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(37,99,235,0.3);
    }

    .no-product-note {
        margin-top: 10px;
        padding: 10px 14px;
        background: #fef9c3;
        border-radius: 9px;
        font-size: 13px;
        color: #713f12;
        border: 1px solid #fde68a;
    }

    .details-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 16px;
    }

    .detail-item {
        background: #f1f5f9;
        padding: 12px;
        border-radius: 10px;
        text-align: center;
    }

    .detail-label {
        font-size: 11.5px;
        color: #64748b;
        margin-bottom: 4px;
    }

    .detail-value {
        font-weight: 800;
        color: #1e293b;
        font-size: 15px;
    }

    .empty-state {
        text-align: center;
        color: #94a3b8;
        padding: 50px 20px;
    }

    .empty-icon {
        font-size: 64px;
        margin-bottom: 16px;
        display: block;
        opacity: 0.25;
        animation: float 3s ease-in-out infinite;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }

    .empty-state h3 { font-size: 18px; margin-bottom: 8px; color: #64748b; }
    .empty-state p { font-size: 14px; }

    .badge {
        display: inline-block;
        background: #dbeafe;
        color: #1e40af;
        padding: 5px 14px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 700;
        margin-top: 10px;
    }

    .alert {
        background: #fefce8;
        border-right: 4px solid #f59e0b;
        padding: 11px 14px;
        border-radius: 9px;
        font-size: 13px;
        margin-top: 16px;
        color: #78350f;
        line-height: 1.7;
    }

    .section-label {
        font-size: 11px;
        font-weight: 700;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 14px;
        padding-bottom: 8px;
        border-bottom: 1px solid #e2e8f0;
    }
    .info-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    cursor: pointer;
    margin-right: 4px;
    transition: all 0.2s;
    font-weight: bold;
}

.info-icon:hover {
    background: #2563eb;
    transform: scale(1.1);
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    animation: fadeIn 0.2s;
}

.modal-overlay.show {
    display: block;
}

.info-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    padding: 28px;
    max-width: 520px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.info-modal.show {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.modal-title {
    font-size: 19px;
    font-weight: 800;
    color: #1e293b;
}

.modal-close {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    color: #64748b;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-content {
    color: #334155;
    line-height: 1.9;
    padding:10px;
    font-size: 14px;
}

.modal-content h4 {
    color: #2563eb;
    font-size: 16px;
    font-weight: 700;
    margin: 20px 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-content ul {
    margin: 12px 0;
    padding-right: 20px;
}

.modal-content li {
    margin-bottom: 10px;
    position: relative;
}

.modal-content li::marker {
    color: #2563eb;
}

.modal-content strong {
    color: #1e293b;
    font-weight: 700;
}

.example-box {
    background: #f0f9ff;
    border-right: 4px solid #3b82f6;
    padding: 16px;
    border-radius: 10px;
    margin: 16px 0;
}

.example-box strong {
    color: #1e40af;
    display: block;
    margin-bottom: 8px;
}

.warning-box {
    background: #fef3c7;
    border-right: 4px solid #f59e0b;
    padding: 14px;
    border-radius: 10px;
    margin-top: 16px;
    font-size: 13px;
    color: #78350f;
}
/* استایل بخش توضیحات */
.description-section {
    background: #f8f9fa;
    padding: 40px 20px;
    margin-top: 40px;
}

.description-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.description-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.6;
}

.description-content {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

.description-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.description-content h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.description-content h4 {
    color: #34495e;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 12px;
}

.description-content ul {
    margin: 15px 0;
    padding-right: 25px;
}

.description-content ul li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.description-preview {
    position: relative;
    max-height: 300px;
    overflow: hidden;
}

.description-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, white);
}

.description-full {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.read-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 25px auto 0;
    padding: 8px 20px;
    background: transparent;
    color: #667eea;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.read-more-btn:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.read-more-btn:active {
    transform: scale(0.98);
}

#btnIcon {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.read-more-btn.expanded #btnIcon {
    transform: rotate(180deg);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .description-section {
        padding: 30px 15px;
    }
    
    .description-container {
        padding: 20px;
    }
    
    .description-title {
        font-size: 20px;
    }
    
    .description-content {
        font-size: 15px;
    }
    
    .description-content h3 {
        font-size: 18px;
    }
    
    .description-content h4 {
        font-size: 16px;
    }
}
