.nutrition-facts {
  width: 100%;
  max-width: 430px;

  margin: 0 auto;
  padding: 8px;

  box-sizing: border-box;

  background: #fff !important;
  color: #000 !important;

  border: 3px solid #000 !important;
  border-radius: 0 !important;
}

.nutrition-facts *,
.nutrition-facts *::before,
.nutrition-facts *::after {
  box-sizing: border-box;
}


/* TITLE */
.nutrition-facts > h2 {
  display: block;

  width: 100%;

  margin: 0 !important;
  padding: 0 0 6px !important;

  background: transparent !important;

  color: #000 !important;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 36px !important;
  font-weight: 900 !important;
  line-height: 0.95 !important;
  letter-spacing: -1.2px;

  border: 0 !important;
  border-bottom: 10px solid #000 !important;
}


/* TABLE */
.nutrition-facts .nutrition-table {
  width: 100%;

  margin: 0;
  padding: 0;

  border: 0 !important;
  border-collapse: collapse;
  border-spacing: 0;

  table-layout: auto;

  background: #fff !important;
  color: #000 !important;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.15;
}


/* CELLS */
.nutrition-facts .nutrition-table td {
  margin: 0;
  padding: 4px 0;

  background: transparent !important;
  color: #000 !important;

  border: 0 !important;

  vertical-align: baseline;
}


/* COLUMN ALIGNMENT */
.nutrition-facts .nutrition-table td:first-child {
  text-align: left;
}

.nutrition-facts .nutrition-table td:not(:first-child) {
  text-align: right;
}


/* NORMAL ROW */
.nutrition-facts .nutrition-row td {
  padding-top: 4px;
  padding-bottom: 4px;

  border-bottom: 1px solid #000 !important;
}

.nutrition-facts .nutrition-row td:not(:first-child) {
  white-space: nowrap;
}


/* HEADER */
.nutrition-facts .nutrition-header td {
  padding-top: 5px;
  padding-bottom: 5px;

  line-height: 1.05;

  vertical-align: bottom;

  border-bottom: 4px solid #000 !important;
}


/* SECTION TITLE (dòng chỉ có 1 cell) */
.nutrition-facts .nutrition-row td:first-child:last-child {
  padding-top: 6px;
  padding-bottom: 6px;

  line-height: 1.15;
  text-align: left;

  border-bottom: 1px solid #000;
}


/* EMPTY STATE */
.nutrition-facts .nutrition-empty {
  color: #999;
  font-size: 12px;
  text-align: center;
  padding: 20px 0;
  font-family: Arial, Helvetica, sans-serif;
}


/* ROW TRƯỚC SEPARATOR — bỏ line mỏng (đặt sau section để thắng cả tiêu đề nhóm) */
.nutrition-facts .nutrition-row:has(+ .nutrition-separator) td {
  border-bottom: 0 !important;
}


/* THICK SEPARATOR */
.nutrition-facts .nutrition-separator td {
  height: 9px;

  padding: 0;

  border: 0 !important;
  border-bottom: 5px solid #000 !important;
}


/* LONG TEXT */
.nutrition-facts .nutrition-row td:first-child {
  overflow-wrap: anywhere;
}


/* MOBILE */
@media (max-width: 480px) {

  .nutrition-facts {
    max-width: 100%;
    padding: 6px;

    border-width: 3px !important;
  }

  .nutrition-facts > h2 {
    font-size: 30px !important;
    letter-spacing: -1px;
  }

  .nutrition-facts .nutrition-table {
    font-size: 12px;
  }

  .nutrition-facts .nutrition-row td:first-child:last-child {
    font-size: 13px;
  }
}