@layer common {
    .supplement-facts {
        display: grid;
        grid-template-columns: 1fr auto auto;
        margin-top: 0;
        margin-bottom: 2rem;

        & > .header {
            display: contents;

            & > .header-cell {
                padding: 0.5rem 0.75rem;
                border-bottom: 2px solid #9BCAF2;
                font-weight: bold;
                text-align: right;

                &:first-child {
                    text-align: left;
                }
            }
        }

        & > .row {
            display: contents;

            & > .ingredient,
            & > .amount,
            & > .daily-value {
                padding: 0.5rem 0.75rem;
                border-bottom: 1px solid #C9E2FD;
            }

            & > .ingredient {
                display: flex;
                flex-direction: column;
                gap: 0.125rem;

                & > .name {
                    font-weight: normal;
                }

                & > .form {
                    font-size: 0.75rem;
                    color: #444A4B;
                    padding-left: 1rem;
                }
            }

            & > .amount,
            & > .daily-value {
                text-align: right;
                white-space: nowrap;

                & > .label {
                    display: none;
                }
            }
        }

        & > .footer {
            grid-column: 1 / -1;
            padding: 0.5rem 0.75rem;
            border-bottom: 2px solid #9BCAF2;
            font-size: .8rem;
            color: #444A4B;

            & > sup {
                font-weight: bold;
            }
        }

        @media (max-width: 62rem) {
            grid-template-columns: 1fr;
            max-width: 100%;

            & > .header {
                display: none;
            }

            & > .row {
                display: grid;
                grid-template-columns: 1fr;
                gap: 0;
                background-color: #E6E9EC;
                margin-bottom: 1rem;

                & > .ingredient {
                    grid-column: 1;
                    border-bottom: 1px solid #ddd;
                    background-color: #E6E9EC;
                    padding: 0.75rem;

                    & > .name {
                    font-weight: 600;
                    font-size: 1rem;
                    color: #222626;
                    }

                    & > .form {
                    padding-left: 0;
                    margin-top: 0.125rem;
                    }
                }

                & > .amount,
                & > .daily-value {
                    display: grid;
                    grid-template-columns: 1fr auto;
                    text-align: left;
                    padding: 0.75rem;
                    border-bottom: 1px solid #ddd;
                    background-color: white;

                    & > .label {
                        display: block;
                        font-size: 0.875rem;
                        color: #555;
                    }

                    & > .value {
                        text-align: right;
                        font-weight: 500;
                    }
                }

                & > .daily-value {
                    border-bottom: none;
                }
            }

            & > .footer {
                margin-top: 1rem;
            }
        }
    }
}
