.aicm-price-section,
.aicm-faq-section,
.aicm-internal-links-section {
    margin: 2.25rem 0;
}

.aicm-price-intro {
    text-align: right;
    margin-bottom: 1.25rem;
}

.aicm-price-intro h2,
.aicm-faq-section > h2,
.aicm-internal-links-section > h2 {
    margin: 0 0 .55rem;
    line-height: 1.35;
}

.aicm-price-intro p {
    margin: 0;
    color: #52606d;
    line-height: 1.9;
}

.aicm-price-table-wrap {
    overflow: hidden;
    border: 1px solid #dcebea;
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(10, 105, 96, .10);
    background: #fff;
}

.aicm-price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    margin: 0;
    direction: rtl;
}

.aicm-price-table th,
.aicm-price-table td {
    padding: 1.35rem 1.2rem;
    vertical-align: middle;
    text-align: right;
    border: 0;
    border-inline-start: 1px solid #dcebea;
}

.aicm-price-table th:first-child,
.aicm-price-table td:first-child {
    border-inline-start: 0;
}

.aicm-price-table thead th {
    color: #fff;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, #0a8f83, #08736c);
    border-color: rgba(255,255,255,.18);
}

.aicm-table-head-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    margin-inline-end: .45rem;
    vertical-align: middle;
}

.aicm-table-icon-glyph,
.aicm-row-icon-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.aicm-table-icon-glyph::before,
.aicm-row-icon-glyph::before {
    font-size: 1.05em;
    font-weight: 800;
}

.aicm-table-icon-glyph.is-service::before { content: "⚙"; }
.aicm-table-icon-glyph.is-details::before { content: "▤"; }
.aicm-table-icon-glyph.is-price::before { content: "◇"; }
.aicm-row-icon-glyph::before { content: "▦"; }

.aicm-price-table tbody tr:nth-child(odd) td {
    background: #fbfefe;
}

.aicm-price-table tbody tr:nth-child(even) td {
    background: #f3fbfa;
}

.aicm-price-table tbody td {
    border-top: 1px solid #dcebea;
    color: #334155;
    line-height: 1.85;
}

.aicm-service-cell {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.aicm-service-cell strong {
    color: #111827;
    font-size: 1.03em;
}

.aicm-service-icon {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 50%;
    color: #087b72;
    background: #e4f7f4;
}

.aicm-price-pill {
    display: inline-block;
    padding: .55rem .85rem;
    border-radius: 12px;
    color: #08736c;
    background: #dcf6f2;
    font-weight: 800;
    white-space: normal;
}

.aicm-price-table td:last-child {
    text-align: center;
}

.aicm-price-table td:last-child small {
    display: block;
    margin-top: .45rem;
    color: #64748b;
}

.aicm-numbered-sequence,
.aicm-internal-links-list {
    margin: 1rem 1.25rem 1rem 0;
    padding: 0 1.1rem 0 0;
}

.aicm-numbered-sequence li,
.aicm-internal-links-list li {
    margin: .55rem 0;
    padding-inline-start: .25rem;
    line-height: 1.8;
}

.aicm-internal-links-section {
    padding: 1.25rem 1.35rem;
    border: 1px solid #dcebea;
    border-radius: 16px;
    background: #f8fcfc;
}

.aicm-internal-links-list a {
    text-decoration: none;
    font-weight: 700;
}

.aicm-content-image {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.wp-block-image .wp-element-caption {
    margin-top: .55rem;
    color: #64748b;
    font-size: .9em;
    text-align: center;
}

@media (max-width: 720px) {
    .aicm-price-table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .aicm-price-table,
    .aicm-price-table tbody,
    .aicm-price-table tr,
    .aicm-price-table td {
        display: block;
        width: 100%;
    }

    .aicm-price-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .aicm-price-table tbody tr {
        margin-bottom: 1rem;
        overflow: hidden;
        border: 1px solid #dcebea;
        border-radius: 16px;
        box-shadow: 0 9px 25px rgba(10, 105, 96, .08);
        background: #fff;
    }

    .aicm-price-table tbody td,
    .aicm-price-table tbody tr:nth-child(odd) td,
    .aicm-price-table tbody tr:nth-child(even) td {
        display: grid;
        grid-template-columns: minmax(82px, 30%) 1fr;
        gap: .75rem;
        align-items: center;
        padding: .9rem 1rem;
        border: 0;
        border-top: 1px solid #edf4f3;
        background: #fff;
        text-align: right;
    }

    .aicm-price-table tbody td:first-child {
        border-top: 0;
    }

    .aicm-price-table tbody td::before {
        content: attr(data-label);
        color: #08736c;
        font-weight: 800;
    }

    .aicm-price-table td:last-child {
        text-align: right;
    }

    .aicm-service-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
}

.aicm-faq { margin-top: 2rem; }
.aicm-link-paragraph a { overflow-wrap: anywhere; }

@media (max-width: 720px) {
    .aicm-price-table tbody td:nth-child(1)::before { content: "الخدمة"; }
    .aicm-price-table tbody td:nth-child(2)::before { content: "التفاصيل"; }
    .aicm-price-table tbody td:nth-child(3)::before { content: "السعر"; }
}
