/* NC Foods CPT — Front-end styles */

/* ── NUTRITION TABLE ── */
.ncf-nutrition-table-wrap {
    margin: 2rem 0;
    border: 2px solid #0a3828;
    border-radius: 14px;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
    max-width: 520px;
}
.ncf-nt-header {
    background: #0a3828;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}
.ncf-nt-emoji { font-size: 28px; }
.ncf-nt-header h3 { color: #fff; font-size: 1rem; font-weight: 700; margin: 0; flex: 1; }
.ncf-nt-serving { font-size: 12px; color: rgba(255,255,255,.6); white-space: nowrap; }
.ncf-nt { width: 100%; border-collapse: collapse; }
.ncf-nt thead th {
    background: #f0faf4; padding: 8px 12px;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .6px;
    color: #17865a; text-align: left;
}
.ncf-nt thead th:last-child { text-align: right; }
.ncf-nt td { padding: 8px 12px; font-size: 14px; border-bottom: 1px solid #f0f0f0; }
.ncf-nt td:last-child { text-align: right; color: #666; }
.ncf-nt tr:last-child td { border-bottom: none; }
.ncf-nt-bold td { font-weight: 700; background: #fafafa; }

/* ── FOOD CARD ── */
.ncf-card {
    display: flex; align-items: center; gap: 1rem;
    background: #fff;
    border: 1px solid rgba(15,26,18,.1);
    border-radius: 14px;
    padding: .85rem 1rem;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.ncf-card:hover { border-color: #1fa868; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.ncf-card-img img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; display: block; }
.ncf-card-emoji { font-size: 40px; width: 56px; text-align: center; }
.ncf-card-name { font-size: 14px; font-weight: 700; color: #0f1a12; margin-bottom: 4px; }
.ncf-card-macros { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 4px; }
.ncf-m { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 50px; }
.ncf-m-cal { background: rgba(239,68,68,.1); color: #dc2626; }
.ncf-m-pro { background: rgba(31,168,104,.1); color: #17865a; }
.ncf-m-car { background: rgba(245,158,11,.1); color: #92400e; }
.ncf-card-score { font-size: 12px; font-weight: 700; }
