/* ---------- Pricing Tables ---------- */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--border-color);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* Forces scroll on small screens */
    font-size: 15px;
    text-align: left;
}

.price-table thead {
    background: var(--navy);
    color: var(--white);
}

.price-table th,
.price-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #e0e0e0;
}

.price-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

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

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

.price-table td strong {
    color: var(--navy);
    font-weight: 600;
}

@media (max-width: 768px) {

    table,
    thead,
    tbody,
    tr,
    td,
    th {
        display: block;
        width: 100%;
    }

    .price-table thead {
        display: none;
    }

    .price-table {
        font-size: 13px;
        width: 100%;
        min-width: 0 !important;
        border: none;
    }

    .price-table tbody tr {
        margin-bottom: 15px;
        display: block;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        background: var(--white);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .price-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 12px;
        box-sizing: border-box;
        text-align: right;
        border-bottom: 1px solid #eee;
    }

    .price-table td:last-child {
        border-bottom: none;
    }

    .price-table td::before {
        content: attr(data-label);
        font-weight: 600;
        text-transform: uppercase;
        color: var(--navy);
        text-align: left;
        padding-right: 15px;
        display: block;
    }
}