/* ── Data Table ── */

.c-data-table__wrap {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #faf8f5;
}

.c-data-table__flex {
    display: flex;
}

/* Default: columns share space equally unless overridden */
.c-data-table__flex > * {
    flex: 1 1 0%;
    min-width: 0;
}

/* ── Header ── */

.c-data-table__head {
    background: #e5dbcc99;
}

.c-data-table__th {
    padding: 1rem;
    font-size: .875rem;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7c695a;
}

/* ── Body ── */

.c-data-table__cell {
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #7c695a;
}

.c-data-table__cell:first-child {
    font-weight: 500;
    color: #2b2b2b;
}

.c-data-table__row--alt {
    background: #e5dbcc33;
}

/* ── Footer ── */

.c-data-table__footer {
    font-size: 1rem;
    line-height: 1.5;
}

/* ── Mobile ── */

@media (max-width: 767px) {
    .c-data-table__wrap{
        background-color: transparent;
        border: 0 none;
    }
    .c-data-table__flex {
        flex-direction: column;
    }
    .c-data-table__flex > * {
        flex: none;
        width: 100% !important;
    }
    .c-data-table__head {
        display: none;
    }
    .c-data-table__row {
        padding: 16px;
        border-radius: 1rem;
        margin-bottom: 8px;
        background: #faf8f5;
    }
    .c-data-table__row:nth-child(odd) {
        background: #faf8f5b5;
    }
    .c-data-table__cell {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 12px;
        text-align: right;
    }
    .c-data-table__cell + .c-data-table__cell {
        margin-top: 8px;
        padding-top: 8px;
    }
    .c-data-table__cell::before {
        content: attr(data-label);
        font-size: 1rem;
        line-height: 1.5;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        flex-shrink: 0;
        color: #7c695a;
    }
}
