.myd-label-frontend {
    display: grid;
    gap: 1.25rem;
    color: #111;
}

.myd-label-frontend__section {
    display: grid;
    gap: 0.6rem;
}

.myd-label-frontend__ingredients {
    margin: 0;
    max-width: 42rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.myd-label-frontend .myd-label-frontend__ingredients strong,
.product.data.items .myd-label-frontend .myd-label-frontend__ingredients strong {
    font-weight: 600 !important;
}

.myd-label-frontend__section--nutrition {
    max-width: 42rem;
}

.myd-label-frontend__heading {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
}

.myd-label-frontend__table-wrapper {
    overflow-x: auto;
    background: #fff;
}

.myd-label-frontend__table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    table-layout: fixed;
    border-top: 2px solid #111;
    border-bottom: 2px solid #111;
    font-size: 0.95rem;
}

.myd-label-frontend__table th,
.myd-label-frontend__table td {
    padding: 0.45rem 0;
    border-bottom: 1px solid #d7d7d7;
    vertical-align: middle;
}

.myd-label-frontend__table tbody tr:last-child th,
.myd-label-frontend__table tbody tr:last-child td {
    border-bottom: 0;
}

.myd-label-frontend__table th {
    width: 68%;
    font-weight: 600;
    text-align: left;
    background: #fff;
}

.myd-label-frontend__table td {
    width: 32%;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.myd-label-frontend__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 639px) {
    .myd-label-frontend__section--nutrition,
    .myd-label-frontend__ingredients {
        max-width: none;
    }

    .myd-label-frontend__table {
        font-size: 0.9rem;
    }

    .myd-label-frontend__table th,
    .myd-label-frontend__table td {
        padding: 0.45rem 0;
    }

    .myd-label-frontend__table th {
        width: 60%;
    }

    .myd-label-frontend__table td {
        width: 40%;
    }
}
