.iramot-packages {
    --iramot-navy: #0a0e1a;
    --iramot-ink: #1c2233;
    --iramot-muted: #5c6478;
    --iramot-line: #e4e7f0;
    --iramot-paper: #ffffff;
    --iramot-soft: #f5f7fb;
    --iramot-accent: #35397e;
    --iramot-mid: #6868ae;
    --iramot-lilac: #9896c8;
    --iramot-sky: #9fcaff;
    margin: 1.5rem 0 2rem;
    color: var(--iramot-ink);
    font-family: IRANSans, Tahoma, sans-serif;
    direction: rtl;
}

.iramot-packages__head {
    margin: 0 0 1rem;
}

.iramot-packages__head h2 {
    margin: 0 0 0.35rem;
    color: var(--iramot-accent);
    font-size: 1.55rem;
    line-height: 1.5;
}

.iramot-packages__head p,
.iramot-packages__note {
    margin: 0;
    color: var(--iramot-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.iramot-packages__scroll {
    overflow-x: auto;
    border: 1px solid var(--iramot-line);
    border-radius: 18px;
    background: var(--iramot-paper);
    box-shadow: 0 10px 30px rgba(10, 14, 26, 0.06);
}

.iramot-packages__table {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
}

.iramot-packages__table th,
.iramot-packages__table td {
    padding: 0.95rem 0.8rem;
    border-bottom: 1px solid var(--iramot-line);
    vertical-align: middle;
    font-size: 0.92rem;
    line-height: 1.7;
    font-weight: 400;
}

.iramot-packages__table thead th {
    position: sticky;
    top: 0;
    background: #071844;
    color: #f7f8fc;
    font-weight: 700;
    z-index: 2;
}

.iramot-packages__table .iramot-feature-col,
.iramot-packages__table tbody th,
.iramot-packages__table tfoot th {
    position: sticky;
    right: 0;
    width: 30%;
    min-width: 200px;
    text-align: right;
    background: #f8f9fc;
    color: var(--iramot-ink);
    font-weight: 600;
    z-index: 1;
    box-shadow: -8px 0 12px rgba(10, 14, 26, 0.03);
}

.iramot-packages__table thead .iramot-feature-col,
.iramot-packages__table thead .iramot-plan--gold,
.iramot-packages__table thead .iramot-plan--silver,
.iramot-packages__table thead .iramot-plan--bronze {
    z-index: 3;
    background: #071844;
    color: #f7f8fc;
}

.iramot-plan__name {
    display: block;
    font-size: 1.05rem;
}

.iramot-badge {
    display: inline-block;
    margin-bottom: 0.35rem;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    background: var(--iramot-sky);
    color: var(--iramot-navy);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.7;
}

.iramot-cell {
    color: var(--iramot-ink);
}

.iramot-cell.is-yes {
    color: var(--iramot-accent);
    font-weight: 700;
}

.iramot-cell.is-no {
    color: #8b93a7;
}

.iramot-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
}

.iramot-cell.is-yes .iramot-mark {
    background: #e7f6ee;
    color: #1f8a4c;
}

.iramot-cell.is-no .iramot-mark {
    background: #fdecec;
    color: #c43b3b;
}

.iramot-packages__table tbody tr:nth-child(even) td {
    background: var(--iramot-soft);
}

.iramot-packages__table tfoot th,
.iramot-packages__table tfoot td {
    border-bottom: 0;
    background: #f3f5fb;
}

.iramot-packages__table .iramot-plan--gold,
.iramot-packages__table .iramot-plan--silver,
.iramot-packages__table .iramot-plan--bronze {
    width: 15%;
}

.iramot-packages__table .iramot-plan--diamond {
    width: 25%;
    padding: 1.15rem 1rem;
    background: #e7f3ff;
    font-size: 1.02rem;
    font-weight: 700;
    box-shadow: inset 0 3px 0 var(--iramot-sky);
}

.iramot-packages__table thead .iramot-plan--diamond {
    background: #1d4e89;
    color: #ffffff;
}

.iramot-packages__table thead .iramot-plan--diamond .iramot-plan__name {
    font-size: 1.2rem;
}

.iramot-packages__table tbody tr:nth-child(even) td.iramot-plan--diamond,
.iramot-packages__table tfoot td.iramot-plan--diamond {
    background: #dcebff;
}

.iramot-price {
    white-space: nowrap;
}

.iramot-price strong {
    display: inline;
    color: var(--iramot-accent);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
}

.iramot-price span,
.iramot-card__price span {
    display: inline;
    margin-right: 0.35rem;
    color: var(--iramot-muted);
    font-size: 0.85rem;
}

.iramot-packages__table tfoot td.iramot-plan--diamond strong {
    font-size: 1.15rem;
}

.iramot-packages__cards {
    display: none;
}

.iramot-packages__note {
    margin-top: 0.75rem;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 860px) {
    .iramot-packages__scroll {
        display: none;
    }

    .iramot-packages__cards {
        display: grid;
        gap: 0.9rem;
    }

    .iramot-card {
        padding: 1rem 1rem 0.4rem;
        border: 1px solid var(--iramot-line);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(10, 14, 26, 0.05);
    }

    .iramot-card h3 {
        margin: 0.2rem 0;
        color: var(--iramot-accent);
        font-size: 1.2rem;
    }

    .iramot-card__price {
        margin: 0 0 0.6rem;
    }

    .iramot-card__price strong {
        color: var(--iramot-navy);
        font-size: 1.05rem;
    }

    .iramot-card ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .iramot-card li {
        display: flex;
        justify-content: space-between;
        gap: 0.8rem;
        padding: 0.7rem 0;
        border-top: 1px solid var(--iramot-line);
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .iramot-card__label {
        color: var(--iramot-muted);
    }

    .iramot-card__value {
        flex: 0 0 46%;
        color: var(--iramot-ink);
        font-weight: 700;
        text-align: left;
    }

    .iramot-card__value.is-no {
        color: #8b93a7;
        font-weight: 500;
    }

    .iramot-card.iramot-plan--diamond {
        background: #e7f3ff;
        border-color: #9fcaff;
        transform: scale(1.02);
    }
}

@media print {
    .iramot-packages__cards {
        display: none !important;
    }

    .iramot-packages__scroll {
        display: block !important;
        overflow: visible;
        box-shadow: none;
    }
}
