/* آکاردئون ماشین‌آلات - نسخه نهایی مطابق عکس و درخواست جدید */

.machinery-accordion-card {
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    transition: all 0.4s ease;
    direction: rtl;
}

.machinery-accordion-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

/* هدر عنوان آکاردئون */
.machinery-accordion-header {
    background-color: #201c0c;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: background-color 0.3s ease;
    border-radius: 16px 16px 0 0;
}

.machinery-accordion-header:hover {
    background-color: #2d2816;
}

.machinery-accordion-header h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.machinery-accordion-header i.icofont-fast-delivery {
    font-size: 28px;
    color: #ffffff;
}

.machinery-accordion-header .down-arrow {
    transition: transform 0.3s ease;
    font-size: 20px;
    color: #ffffff;
}

/* اصلاح جهت فلش: بسته → به چپ، باز → به پایین */
.machinery-accordion-card.active .down-arrow {
    transform: rotate(90deg);
}

/* بدنه آکاردئون */
.machinery-accordion-body {
    padding: 24px 24px 32px;
    background-color: #f8f9fa;
    border-radius: 0 0 16px 16px;
}

/* جدول */
.machinery-table {
    border-collapse: separate;
    border-spacing: 0 14px; /* فاصله عمودی بین ردیف‌ها */
    width: 100%;
    direction: rtl;
    text-align: right;
}

/* هدر جدول - دقیقاً مثل عکس */
.machinery-table thead tr {
    background-color: #201c0c;
    color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.machinery-table thead th {
    padding: 16px 20px;
    font-weight: 600;
    border: none;
}

.machinery-table thead th:first-child { /* تعداد - چپ */
    border-radius: 0px 12px 12px 0px;
}

.machinery-table thead th:last-child { /* نام ماشین - راست */
    border-radius: 12px 0px 0px 12px;
}

.machinery-table thead th.text-center {
    text-align: center;
}

/* ردیف‌های بدنه - بدون پس‌زمینه سفید، فقط سایه و گوشه گرد */
.machinery-table tbody tr {
    background: transparent; /* شفاف - همرنگ بدنه آکاردئون */
    box-shadow: 0 1px 1px #1f1c0c;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.machinery-table tbody tr:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.machinery-table tbody td {
    padding: 18px 20px;
    background: #ffffff; /* فقط سلول‌ها سفید باشن */
    border: none;
    vertical-align: middle;
}

.machinery-table tbody td:first-child { /* تعداد - چپ */
    border-radius: 12px 12px 12px 12px;
}

.machinery-table tbody td:last-child { /* نام ماشین - راست */
    border-radius: 12px 12px 12px 12px;
    font-weight: 600;
    color: #201c0c;
}

.machinery-table tbody td.text-center {
    font-weight: 600;
    color: #201c0c;
}

.machinery-table tbody tr td.text-muted {
    font-style: italic;
    color: #95a5a6;
}

/* متن پایانی بخش ماشین‌آلات - شیک و هماهنگ */
.machinery-footer-text {
    padding: 60px 20px 40px;


    margin: 0 20px;

}

.machinery-summary {
    font-size: 1.25rem;
    color: #333;
    line-height: 1.9;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.machinery-summary .highlight {
    color: #201c0c;
    font-weight: 700;
}

.machinery-note {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cont {
    margin-top: 60px;
}



/* موبایل */
@media (max-width: 768px) {
    .machinery-footer-text {
        padding: 50px 20px 30px;
        margin: 0 10px;
    }
    .machinery-summary {
        font-size: 1.15rem;
    }
    .machinery-note {
        font-size: 1rem;
    }
    .btn-machinery-cta {
        padding: 12px 35px;
        font-size: 1rem;
    }
    .cont {
        margin-top: 60px;
    }
}