.product-agromar-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 4rem 0;
  container-type: inline-size;
}

.product-agromar-2 .content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 94.5rem;
  gap: 4rem;
}

/* ── Headlines ─────────────────────────────────────────────────────────── */

.product-agromar-2 .content-wrapper .headlines {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 50%;
  flex-shrink: 0;
}

.product-agromar-2 .content-wrapper .headlines > h2 {
  font-size: 4rem;
  line-height: 4.5rem;
  color: #380d06;
  font-weight: 700;
}

.product-agromar-2 .content-wrapper .headlines > h3 {
  font-size: 2rem;
  line-height: 2.25rem;
  color: #d6350f;
  font-weight: 400;
}

/* ── Table wrapper ──────────────────────────────────────────────────────── */

.product-agromar-2 .content-wrapper .nutrition-table-wrapper {
  flex: 1 1 40%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem;
  background-color: #fef4ea;
}

/* ── Table base ─────────────────────────────────────────────────────────── */

.product-agromar-2 .content-wrapper .nutrition-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

/* ── thead / th ─────────────────────────────────────────────────────────── */

.product-agromar-2 .content-wrapper .nutrition-table thead tr {
  border-bottom: solid 2px #380d06;
}

.product-agromar-2 .content-wrapper .nutrition-table thead th {
  padding: 0.625rem 0.75rem;
  font-size: 1rem;
  line-height: 1.25rem;
  color: #380d06;
  font-weight: 600;
  vertical-align: bottom;
  /* default alignment – overridden per-col via inline style */
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* first th gets no left padding so it aligns with the wrapper edge */
.product-agromar-2 .content-wrapper .nutrition-table thead th:first-child {
  padding-left: 0;
}

.product-agromar-2 .content-wrapper .nutrition-table thead th:last-child {
  padding-right: 0;
}

/* ── tbody / td ─────────────────────────────────────────────────────────── */

.product-agromar-2 .content-wrapper .nutrition-table tbody tr {
  border-bottom: solid 1px #380d06;
}

.product-agromar-2 .content-wrapper .nutrition-table tbody tr:last-child {
  border-bottom: none;
}

.product-agromar-2 .content-wrapper .nutrition-table tbody td {
  padding: 0.75rem 0.75rem;
  font-size: 1.125rem;
  line-height: 1.5rem;
  color: #380d06;
  font-weight: 700;
  vertical-align: middle;
  /* default alignment – overridden per-col via inline style */
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* first td: smaller, normal weight – treated as row label */
.product-agromar-2 .content-wrapper .nutrition-table tbody td:first-child {
  padding-left: 0;
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 400;
}

.product-agromar-2 .content-wrapper .nutrition-table tbody td:last-child {
  padding-right: 0;
}

/* ── Responsive: 100rem ─────────────────────────────────────────────────── */

@container (max-width: 100rem) {
  .product-agromar-2 {
    padding: 4rem 6rem;
  }

  .product-agromar-2 .content-wrapper {
    flex-direction: column;
    justify-content: unset;
    max-width: unset;
    gap: 3rem;
  }

  .product-agromar-2 .content-wrapper .headlines {
    max-width: unset;
  }

  .product-agromar-2 .content-wrapper .nutrition-table-wrapper {
    flex: unset;
    width: 100%;
    padding: 1.5rem;
  }
}

/* ── Responsive: 45rem ──────────────────────────────────────────────────── */

@container (max-width: 45rem) {
  .product-agromar-2 {
    padding: 4rem 1.25rem;
  }

  .product-agromar-2 .content-wrapper {
    gap: 2rem;
  }

  .product-agromar-2 .content-wrapper .headlines {
    gap: 0.5rem;
  }

  .product-agromar-2 .content-wrapper .headlines > h2 {
    font-size: 2.25rem;
    line-height: 2.75rem;
  }

  .product-agromar-2 .content-wrapper .headlines > h3 {
    font-size: 1.5rem;
    line-height: 1.875rem;
  }

  .product-agromar-2 .content-wrapper .nutrition-table-wrapper {
    padding: 1rem;
  }

  .product-agromar-2 .content-wrapper .nutrition-table thead th {
    font-size: 0.875rem;
    line-height: 1.125rem;
    padding: 0.5rem 0.5rem;
  }

  .product-agromar-2 .content-wrapper .nutrition-table thead th:first-child {
    padding-left: 0;
  }

  .product-agromar-2 .content-wrapper .nutrition-table thead th:last-child {
    padding-right: 0;
  }

  .product-agromar-2 .content-wrapper .nutrition-table tbody td {
    font-size: 1rem;
    line-height: 1.375rem;
    padding: 0.625rem 0.5rem;
  }

  .product-agromar-2 .content-wrapper .nutrition-table tbody td:first-child {
    padding-left: 0;
    font-size: 0.875rem;
    line-height: 1.125rem;
  }

  .product-agromar-2 .content-wrapper .nutrition-table tbody td:last-child {
    padding-right: 0;
  }
}
