/* 
Theme Name: Hello Elementor Child
Theme URI: https://Sajjadshadloo.ir/
Description: این قالب شخصی سازی شده و قالب چایلد هلو المنتور می‌باشد که توسط سجاد شادلو برای استفاده راحتتر و برای استفاده از کدهای شما ساخته شده است.
Author: Sajjad Shadloo
Author URI: https://SajjadShadloo.ir/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ===== جدول قیمت‌های پزشکی ===== */
.price-table-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin: 30px 0;
    border: 1px solid #f0f4f8;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    background: white;
}

/* ===== هدر جدول - آبِی شیک ===== */
.price-table thead th {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    padding: 18px 24px;
    text-align: right;
    border: none;
}

.price-table thead th:first-child {
    border-radius: 0;
}

/* ===== بدنه جدول ===== */
.price-table tbody td {
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    background: white;
    transition: background 0.2s ease;
}

.price-table tbody tr {
    transition: all 0.2s ease;
}

.price-table tbody tr:hover {
    background: #f8fafc;
}

.price-table tbody tr:hover td {
    background: transparent;
}

/* ردیف‌های زوج - بسیار ملایم */
.price-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.price-table tbody tr:nth-child(even):hover {
    background: #f1f5f9;
}

/* حذف خط آخرین ردیف */
.price-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== ستون قیمت ===== */
.price-table tbody td:last-child {
    font-weight: 600;
    color: #0f1724;
    font-size: 15px;
    white-space: nowrap;
}

/* استایل ویژه برای "تماس بگیرید" */
.contact-price {
    color: #2563eb !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-price::before {
    content: '📞';
    font-size: 14px;
}

/* ستون اول (نام خدمت) */
.price-table tbody td:first-child {
    font-weight: 500;
    color: #0f1724;
}

/* ===== فوتر جدول ===== */
.price-table-footer {
    padding: 14px 24px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-table-footer .count {
    font-weight: 600;
    color: #1e293b;
}

.price-table-footer .note {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== واکنش‌گرایی ===== */
@media (max-width: 768px) {
    .price-table-wrapper {
        border-radius: 12px;
        margin: 20px 0;
    }
    
    .price-table thead th {
        padding: 14px 16px;
        font-size: 13px;
    }
    
    .price-table tbody td {
        padding: 13px 16px;
        font-size: 14px;
    }
    
    .price-table tbody td:last-child {
        font-size: 14px;
    }
    
    .price-table-footer {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 12px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .price-table thead th,
    .price-table tbody td {
        padding: 11px 14px;
        font-size: 13px;
    }
    
    .price-table-wrapper {
        border-radius: 10px;
        border: none;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    }
    
    .contact-price::before {
        font-size: 12px;
    }
}